]> Some of my projects - localmylist.git/commitdiff
Add new columns to file_location, for future features
authorAPTX <marek321@gmail.com>
Wed, 3 Apr 2013 01:33:01 +0000 (03:33 +0200)
committerAPTX <marek321@gmail.com>
Wed, 3 Apr 2013 01:33:01 +0000 (03:33 +0200)
localmylist/share/schema/schema.sql

index aee175fffc3d93948bc6dd62d0a7e1aae632a0d0..a61233aefb2c7f23aed444114fa4e4960162a7ae 100644 (file)
@@ -129,8 +129,12 @@ CREATE TABLE file_location (
        fid integer NOT NULL,
        host_id integer,
        path text,
+       rename_disabled bool NOT NULL DEFAULT false,
+       original_name text NOT NULL DEFAULT '',
        renamed timestamp without time zone,
+       rename_path text NOT NULL DEFAULT '',
        failed_rename boolean NOT NULL DEFAULT false,
+       rename_error text NOT NULL DEFAULT '',
        CONSTRAINT file_location_pk PRIMARY KEY (location_id ),
        CONSTRAINT file_location_unique_location UNIQUE (fid, host_id, path )
 );