patch..
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE "device_authorizations"
|
||||
ADD COLUMN "registration_reference" TEXT;
|
||||
|
||||
CREATE INDEX "device_authorizations_registration_reference_idx"
|
||||
ON "device_authorizations"("registration_reference");
|
||||
@@ -237,6 +237,7 @@ model DeviceAuthorization {
|
||||
authUserName String? @map("auth_user_name")
|
||||
authUserRole String? @map("auth_user_role")
|
||||
authUserRoles Json? @map("auth_user_roles")
|
||||
registrationReference String? @map("registration_reference")
|
||||
device Json?
|
||||
expiresAt DateTime @map("expires_at") @db.Timestamptz(3)
|
||||
approvedAt DateTime? @map("approved_at") @db.Timestamptz(3)
|
||||
@@ -245,6 +246,7 @@ model DeviceAuthorization {
|
||||
updatedAt DateTime @updatedAt @map("updated_at") @db.Timestamptz(3)
|
||||
|
||||
@@index([status, expiresAt])
|
||||
@@index([registrationReference])
|
||||
@@map("device_authorizations")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user