make unitPrice a float
This commit is contained in:
parent
4facb32e74
commit
24ce9d4a62
@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Subscription" ALTER COLUMN "unitPrice" SET DATA TYPE DOUBLE PRECISION;
|
||||
|
||||
-- RenameIndex
|
||||
ALTER INDEX "ProcessingPhoneNumber_phoneNumberId_unique" RENAME TO "ProcessingPhoneNumber_phoneNumberId_key";
|
@ -46,7 +46,7 @@ model Subscription {
|
||||
updateUrl String
|
||||
cancelUrl String
|
||||
currency String
|
||||
unitPrice Int
|
||||
unitPrice Float
|
||||
nextBillDate DateTime @db.Date
|
||||
lastEventTime DateTime @db.Timestamp
|
||||
cancellationEffectiveDate DateTime? @db.Date
|
||||
|
Loading…
Reference in New Issue
Block a user