small fixes and update to nord theme

This commit is contained in:
ksyasuda
2022-01-09 12:34:21 -08:00
parent 0e1130f7c0
commit 54cad7d62b
5 changed files with 47 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
CREATE TABLE file_history (
CREATE TABLE IF NOT EXISTS file_history (
id integer PRIMARY KEY AUTOINCREMENT,
directory varchar(200) NOT NULL,
filename varchar(200) NOT NULL,
@@ -8,5 +8,5 @@ CREATE TABLE file_history (
UNIQUE (directory, filename)
);
CREATE UNIQUE INDEX dir_filename_idx ON file_history (directory, filename);
CREATE UNIQUE INDEX IF NOT EXISTS dir_filename_idx ON file_history (directory, filename);

View File

@@ -1,4 +1,4 @@
CREATE TABLE search_history (
CREATE TABLE IF NOT EXISTS search_history (
id integer PRIMARY KEY AUTOINCREMENT,
anime_name varchar(200) NOT NULL,
search_date DATETIME NOT NULL,
@@ -6,5 +6,5 @@ CREATE TABLE search_history (
UNIQUE (anime_name, search_date)
);
CREATE UNIQUE INDEX anime_search_idx ON search_history (anime_name, search_date);
CREATE UNIQUE INDEX IF NOT EXISTS anime_search_idx ON search_history (anime_name, search_date);