You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ibihf/migrations/20230327021921_create_perio...

11 lines
391 B

CREATE TABLE IF NOT EXISTS period_types (
id SERIAL PRIMARY KEY NOT NULL,
-- "first", "second", "third", "second overtime", "shootout"
name VARCHAR(32) NOT NULL,
-- "1", "2", "3", "OT", "[2-9]OT", "SO"
-- technically 10+OT would not work, but this should be rare enough to not worry about.
short_name VARCHAR(3) NOT NULL,
-- default length
default_length INTEGER NOT NULL
);