refactor: change amount to f32
This commit is contained in:
2
lnvps_db/migrations/20250305215123_amount-float.sql
Normal file
2
lnvps_db/migrations/20250305215123_amount-float.sql
Normal file
@ -0,0 +1,2 @@
|
||||
-- Add migration script here
|
||||
ALTER TABLE vm_cost_plan MODIFY COLUMN amount float NOT NULL;
|
@ -179,7 +179,7 @@ pub struct VmCostPlan {
|
||||
pub id: u64,
|
||||
pub name: String,
|
||||
pub created: DateTime<Utc>,
|
||||
pub amount: u64,
|
||||
pub amount: f32,
|
||||
pub currency: String,
|
||||
pub interval_amount: u64,
|
||||
pub interval_type: VmCostPlanIntervalType,
|
||||
|
Reference in New Issue
Block a user