Add descriptions to Works

This commit is contained in:
nemunaire 2022-09-04 17:59:36 +02:00
parent 7e7608b7d1
commit 767da66f63
5 changed files with 50 additions and 18 deletions

1
db.go
View file

@ -204,6 +204,7 @@ CREATE TABLE IF NOT EXISTS works(
promo MEDIUMINT NOT NULL,
grp VARCHAR(255) NOT NULL,
shown BOOLEAN NOT NULL DEFAULT FALSE,
description TEXT NOT NULL,
submission_URL VARCHAR(255) NULL,
corrected BOOLEAN NOT NULL DEFAULT FALSE,
start_availability TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,