CREATE TABLE episode (
eid integer NOT NULL,
- aid integer,
+ aid integer NOT NULL,
entry_added timestamp without time zone NOT NULL DEFAULT now(),
anidb_update timestamp without time zone,
entry_update timestamp without time zone,
CREATE TABLE file (
fid integer NOT NULL,
- eid integer,
- aid integer,
- gid integer,
+ eid integer NOT NULL,
+ aid integer NOT NULL,
+ gid integer NOT NULL,
+ lid integer NOT NULL DEFAULT 0,
entry_added timestamp without time zone NOT NULL DEFAULT now(),
anidb_update timestamp without time zone,
entry_update timestamp without time zone,