1
0
Fork 0
database/20230305163159_inflections....

10 lines
300 B
MySQL
Raw Permalink Normal View History

2023-03-05 16:35:32 +00:00
CREATE TABLE inflections (
-- name type constraints
id BIGSERIAL PRIMARY KEY,
part_id BIGINT NOT NULL REFERENCES parts (id),
descr VARCHAR NOT NULL,
-- CONSTRAINT name CHECK (condition)
CONSTRAINT descr_is_sane_text CHECK (is_sane_text(descr))
);