diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql index aaa7cc4957..e69de29bb2 100755 --- a/resources/db_update_scripts/current.sql +++ b/resources/db_update_scripts/current.sql @@ -1,2 +0,0 @@ -ALTER TABLE `forum_posts` ADD `attachment_id` bigint(20) DEFAULT NULL; -ALTER TABLE `forum_posts` ADD CONSTRAINT `FKEDDC4F35CCABB192` FOREIGN KEY (`attachment_id`) REFERENCES `file_description` (`id`) \ No newline at end of file diff --git a/resources/db_update_scripts/db_update_2013-04-19.sql b/resources/db_update_scripts/db_update_2013-04-19.sql new file mode 100644 index 0000000000..b807d217fb --- /dev/null +++ b/resources/db_update_scripts/db_update_2013-04-19.sql @@ -0,0 +1,2 @@ +ALTER TABLE `forum_posts` ADD `attachment_id` bigint(20) DEFAULT NULL; +ALTER TABLE `forum_posts` ADD CONSTRAINT `FKEDDC4F35CCABB192` FOREIGN KEY (`attachment_id`) REFERENCES `file_description` (`id`); \ No newline at end of file