fix postgresql issues

This commit is contained in:
2023-05-08 01:16:08 +02:00
parent 9e2b9251db
commit 6ecc05ba0b
6 changed files with 52 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ table "incentive_subscriptions" {
column "identity_verification_ids" {
null = true
type = sql("text[]")
default = sql("array[]::text[]")
}
column "data" {
null = false
@@ -27,6 +28,7 @@ table "incentive_subscriptions" {
column "subscription_datetime" {
null = true
type = timestamptz
default = sql("now()")
}
primary_key {
columns = [column.id]