mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2025-12-05 02:53:37 -08:00
small fixes and update to nord theme
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user