refactoring
This commit is contained in:
21
storage/postgresql/schema.hcl
Normal file
21
storage/postgresql/schema.hcl
Normal file
@@ -0,0 +1,21 @@
|
||||
schema "silvermobi_backend" {}
|
||||
|
||||
table "users_firebase" {
|
||||
schema = schema.silvermobi_backend
|
||||
column "user_id" {
|
||||
null = false
|
||||
type = uuid
|
||||
}
|
||||
column "fcm_token" {
|
||||
null = false
|
||||
type = varchar(300)
|
||||
}
|
||||
columns "device_platform" {
|
||||
null = false
|
||||
type = text
|
||||
}
|
||||
primary_key {
|
||||
columns = [column.user_id]
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user