From d6cb5d706bbd82669e1f8fc607c4ff64a57885b5 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Wed, 16 Nov 2022 13:43:52 +0100 Subject: [PATCH] added source table to the database --- assets/database_structure.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/database_structure.sql b/assets/database_structure.sql index 792e4ee..293f428 100644 --- a/assets/database_structure.sql +++ b/assets/database_structure.sql @@ -56,3 +56,11 @@ CREATE TABLE track ( url 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 +);