Can restrict survey to group
This commit is contained in:
parent
588089d11b
commit
f0d5296a31
4 changed files with 36 additions and 11 deletions
1
db.go
1
db.go
|
|
@ -82,6 +82,7 @@ CREATE TABLE IF NOT EXISTS surveys(
|
|||
id_survey INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
title VARCHAR(255),
|
||||
promo MEDIUMINT NOT NULL,
|
||||
grp VARCHAR(255) NOT NULL,
|
||||
shown BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
corrected BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
start_availability TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
|
|
|||
Reference in a new issue