mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2025-12-05 02:53:37 -08:00
allow episode 0
This commit is contained in:
@@ -24,7 +24,6 @@ CREATE TABLE IF NOT EXISTS watch_history (
|
||||
episode_number integer NOT NULL,
|
||||
watch_date DATETIME NOT NULL,
|
||||
CHECK (LENGTH(anime_name) > 0),
|
||||
CHECK (episode_number > 0),
|
||||
UNIQUE (anime_name, episode_number, watch_date)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user