Files
HKSingleParty/99_references/dbml_examples/postgresl_function.dbml
2025-05-28 09:55:51 +08:00

11 lines
265 B
Plaintext

Table "my_table" {
"delete_timestamp" timestamp
"buyer_code_id" bigint [not null]
"buyer_code" "character varying" [not null, note: 'A code that can be used in the app']
Indexes {
`lower(buyer_code)` [type: btree, unique, name: "buyer_code_ix"]
}
}