mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-18 09:24:19 +00:00
fix: remove uniqueness constraint on ytID in db schema to allow ytID to be null for multiple songs without one
This commit is contained in:
parent
900c8152d2
commit
de7a0de54d
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ func createTables(db *sql.DB) error {
|
||||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
title TEXT NOT NULL,
|
title TEXT NOT NULL,
|
||||||
artist TEXT NOT NULL,
|
artist TEXT NOT NULL,
|
||||||
ytID TEXT UNIQUE,
|
ytID TEXT,
|
||||||
key TEXT NOT NULL UNIQUE
|
key TEXT NOT NULL UNIQUE
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue