Add authors in themes
This commit is contained in:
parent
e628e7931c
commit
859dbc68cb
4 changed files with 24 additions and 17 deletions
|
|
@ -23,7 +23,8 @@ func DBCreate() error {
|
|||
_, err := db.Exec(`
|
||||
CREATE TABLE IF NOT EXISTS themes(
|
||||
id_theme INTEGER NOT NULL PRIMARY KEY,
|
||||
name TEXT NOT NULL
|
||||
name TEXT NOT NULL UNIQUE,
|
||||
authors TEXT NOT NULL
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS teams(
|
||||
id_team INTEGER NOT NULL PRIMARY KEY,
|
||||
|
|
|
|||
Reference in a new issue