domsPlace/private/database/queries/create/CreateSeasonsTable.sql

8 lines
203 B
SQL

CREATE TABLE IF NOT EXISTS "Seasons" (
"id" BIGSERIAL NOT NULL PRIMARY KEY,
"name" TEXT NOT NULL,
"formatId" BIGSERIAL NOT NULL,
"startDate" TIMESTAMP NOT NULL,
"endDate" TIMESTAMP NOT NULL
);