Add PostgreSQL

This commit is contained in:
2023-05-02 20:06:02 +02:00
parent 1ba7fef3ef
commit 9e2b9251db
8 changed files with 387 additions and 3 deletions

View File

@@ -0,0 +1,36 @@
table "incentive_subscriptions" {
schema = schema.carpool_incentives
column "id" {
null = false
type = uuid
}
column "incentive_id" {
null = false
type = text
}
column "user_id" {
null = false
type = text
}
column "identity_verification_ids" {
null = true
type = sql("text[]")
}
column "data" {
null = false
type = jsonb
}
column "declined" {
null = true
type = boolean
}
column "subscription_datetime" {
null = true
type = timestamptz
}
primary_key {
columns = [column.id]
}
}
schema "carpool_incentives" {
}