make unitPrice a float
This commit is contained in:
		| @@ -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 |   updateUrl                 String | ||||||
|   cancelUrl                 String |   cancelUrl                 String | ||||||
|   currency                  String |   currency                  String | ||||||
|   unitPrice                 Int |   unitPrice                 Float | ||||||
|   nextBillDate              DateTime           @db.Date |   nextBillDate              DateTime           @db.Date | ||||||
|   lastEventTime             DateTime           @db.Timestamp |   lastEventTime             DateTime           @db.Timestamp | ||||||
|   cancellationEffectiveDate DateTime?          @db.Date |   cancellationEffectiveDate DateTime?          @db.Date | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 m5r
					m5r