From: APTX Date: Sun, 7 Apr 2013 18:21:28 +0000 (+0200) Subject: Add more columns for future features X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=befcdd3cb5fad1cb065dcd35f8178d12a7a77883;p=localmylist.git Add more columns for future features --- diff --git a/localmylist/share/schema/schema.sql b/localmylist/share/schema/schema.sql index 1465d0b..6e1c155 100644 --- a/localmylist/share/schema/schema.sql +++ b/localmylist/share/schema/schema.sql @@ -95,6 +95,7 @@ CREATE TABLE file ( release_date timestamp without time zone, version integer, censored boolean, + deprecated boolean DEFAULT false, source character varying(50), quality_id integer, quality character varying(50), @@ -152,6 +153,10 @@ CREATE TABLE pending_mylist_update ( update_id bigserial NOT NULL, fid integer NOT NULL, + aid integer NOT NULL DEFAULT 0, + epno integer NOT NULL DEFAULT 0, + epmin integer NOT NULL DEFAULT 0, + eptype episode_type_enum NOT NULL DEFAULT '', set_my_watched boolean NOT NULL DEFAULT false, my_watched timestamp without time zone, set_my_state boolean NOT NULL DEFAULT false, @@ -164,6 +169,8 @@ CREATE TABLE pending_mylist_update my_source text, set_my_other boolean NOT NULL DEFAULT false, my_other text, + set_vote boolean NOT NULL DEFAULT false, + vote numeric(4,2) NOT NULL DEFAULT 0, added timestamp without time zone DEFAULT now(), started timestamp without time zone, finished timestamp without time zone,