Skip to content

Commit

Permalink
chore: make sleepDurationMs required
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Sep 25, 2023
1 parent e5d0824 commit ec079f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
Warnings:
- Made the column `sleepDurationMs` on table `Subscription` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterTable
ALTER TABLE "Subscription" ALTER COLUMN "sleepDurationMs" SET NOT NULL;
2 changes: 1 addition & 1 deletion schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ model Subscription {
message String?
payerData String? // LUD-18 encoded JSON payer data
sleepDuration String
sleepDurationMs BigInt?
sleepDurationMs BigInt
createdDateTime DateTime @default(now())
lastEventDateTime DateTime?
lastSuccessfulPaymentDateTime DateTime?
Expand Down

0 comments on commit ec079f7

Please sign in to comment.