From 5e4b40665fa11ce0fd0fe957a19e2b7e63f47446 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 17 May 2014 17:35:39 -0400 Subject: Rewrite board drag and drop with jquery (touch devices, IE, auto-update) --- schemas/mysql.php | 5 +++++ schemas/sqlite.php | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'schemas') diff --git a/schemas/mysql.php b/schemas/mysql.php index e7ead3f1..46f56e7b 100644 --- a/schemas/mysql.php +++ b/schemas/mysql.php @@ -2,6 +2,11 @@ namespace Schema; +function version_15($pdo) +{ + $pdo->exec("ALTER TABLE projects ADD COLUMN last_modified INT DEFAULT 0"); +} + function version_14($pdo) { $pdo->exec("ALTER TABLE users ADD COLUMN name VARCHAR(255)"); diff --git a/schemas/sqlite.php b/schemas/sqlite.php index d3e4ce9b..94580235 100644 --- a/schemas/sqlite.php +++ b/schemas/sqlite.php @@ -2,6 +2,11 @@ namespace Schema; +function version_15($pdo) +{ + $pdo->exec("ALTER TABLE projects ADD COLUMN last_modified INTEGER DEFAULT 0"); +} + function version_14($pdo) { $pdo->exec("ALTER TABLE users ADD COLUMN name TEXT"); -- cgit v1.2.3