From b1e35f038a1048f1e25d9e1dc121b36b3e7de8f3 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Tue, 26 Feb 2013 11:21:47 +0100 Subject: [PATCH] remove (potentially) harmful constraints on destination_files.filename --- share/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/schema.sql b/share/schema.sql index 0cf08fc..5b854ca 100644 --- a/share/schema.sql +++ b/share/schema.sql @@ -13,7 +13,7 @@ CREATE TABLE destinations ( ); CREATE TABLE destination_files ( id INTEGER PRIMARY KEY, - filename TEXT UNIQUE NOT NULL, + filename TEXT, last_change INTEGER NOT NULL DEFAULT (strftime('%s','now')), source_file_id INTEGER, destination_id INTEGER,