From: APTX Date: Wed, 3 Apr 2013 01:33:01 +0000 (+0200) Subject: Add new columns to file_location, for future features X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=7fedc71439f283acfb7c30614f02f7ed1ebf028a;p=localmylist.git Add new columns to file_location, for future features --- diff --git a/localmylist/share/schema/schema.sql b/localmylist/share/schema/schema.sql index aee175f..a61233a 100644 --- a/localmylist/share/schema/schema.sql +++ b/localmylist/share/schema/schema.sql @@ -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 ) );