37 lines
604 B
HCL
37 lines
604 B
HCL
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" {
|
|
}
|