added source table to the database

This commit is contained in:
Lars Noack 2022-11-16 13:43:52 +01:00
parent 0cb5cd32e9
commit d6cb5d706b

View File

@ -56,3 +56,11 @@ CREATE TABLE track (
url TEXT, url TEXT,
src TEXT src TEXT
); );
DROP TABLE IF EXISTS source;
CREATE TABLE source (
track_id TEXT NOT NULL,
src TEXT NOT NULL,
url TEXT NOT NULL,
valid BOOLEAN NOT NULL DEFAULT 1
);