destination_files.last_chage: change DEFAULT
This commit is contained in:
parent
41ddbc934f
commit
e6a4db4762
@ -14,7 +14,7 @@ CREATE TABLE destinations (
|
|||||||
CREATE TABLE destination_files (
|
CREATE TABLE destination_files (
|
||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
filename TEXT,
|
filename TEXT,
|
||||||
last_change INTEGER NOT NULL DEFAULT (strftime('%s','now')),
|
last_change INTEGER NOT NULL DEFAULT 0,
|
||||||
source_file_id INTEGER,
|
source_file_id INTEGER,
|
||||||
destination_id INTEGER,
|
destination_id INTEGER,
|
||||||
FOREIGN KEY (source_file_id) REFERENCES source_files(id),
|
FOREIGN KEY (source_file_id) REFERENCES source_files(id),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user