]> Some of my projects - localmylist.git/commitdiff
Add more columns for future features
authorAPTX <marek321@gmail.com>
Sun, 7 Apr 2013 18:21:28 +0000 (20:21 +0200)
committerAPTX <marek321@gmail.com>
Sun, 7 Apr 2013 18:21:28 +0000 (20:21 +0200)
localmylist/share/schema/schema.sql

index 1465d0b88377e52d9b3e06c3e1c9a6b8f5f59c97..6e1c1551b51d87f8d61364c6538e8db0b77b8140 100644 (file)
@@ -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,