change search/watch date from date to datetime

This commit is contained in:
ksyasuda
2021-11-01 12:53:10 -07:00
parent c69695fb75
commit e0df1a8dbf
3 changed files with 15 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
CREATE TABLE search_history (
id integer PRIMARY KEY autoincrement,
name varchar(200) NOT NULL,
search_date date NOT NULL
id integer PRIMARY KEY AUTOINCREMENT,
anime_name varchar(200),
search_date datetime NOT NULL
);

View File

@@ -2,6 +2,6 @@ CREATE TABLE watch_history (
id integer PRIMARY KEY AUTOINCREMENT,
anime_name varchar(200) NOT NULL,
episode_number integer NOT NULL,
watch_date date
watch_date datetime NOT NULL
);