From 3a3fefb1ff4a51798a0882debe2ca51d371598c7 Mon Sep 17 00:00:00 2001 From: fred-fri <fred-fri@dsv.su.se> Date: Fri, 25 Jan 2013 12:41:34 +0900 Subject: [PATCH] added new sql file --- resources/db_update_scripts/current.sql | 3 --- resources/db_update_scripts/db_update_20130125.sql | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100755 resources/db_update_scripts/db_update_20130125.sql diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql index f6d6f51027..e69de29bb2 100755 --- a/resources/db_update_scripts/current.sql +++ b/resources/db_update_scripts/current.sql @@ -1,3 +0,0 @@ -ALTER TABLE NotificationData ADD COLUMN `request_id` bigint(20) DEFAULT NULL; -ALTER TABLE NotificationData ADD KEY `FK2DCAC3558D40D1B9` (`request_id`); -ALTER TABLE NotificationData ADD CONSTRAINT `FK2DCAC3558D40D1B9` FOREIGN KEY (`request_id`) REFERENCES `peer_request` (`id`) ON DELETE SET NULL; diff --git a/resources/db_update_scripts/db_update_20130125.sql b/resources/db_update_scripts/db_update_20130125.sql new file mode 100755 index 0000000000..f6d6f51027 --- /dev/null +++ b/resources/db_update_scripts/db_update_20130125.sql @@ -0,0 +1,3 @@ +ALTER TABLE NotificationData ADD COLUMN `request_id` bigint(20) DEFAULT NULL; +ALTER TABLE NotificationData ADD KEY `FK2DCAC3558D40D1B9` (`request_id`); +ALTER TABLE NotificationData ADD CONSTRAINT `FK2DCAC3558D40D1B9` FOREIGN KEY (`request_id`) REFERENCES `peer_request` (`id`) ON DELETE SET NULL;