From ed35fece10e66c1828a9be99688055ba7f26a47f Mon Sep 17 00:00:00 2001
From: fred-fri <fred-fri@dsv.su.se>
Date: Fri, 1 Jun 2012 11:17:14 +0900
Subject: [PATCH] added new db update file

---
 resources/db_update_scripts/current.sql             | 13 -------------
 .../db_update_scripts/db_update_2012-06-01.sql      | 13 +++++++++++++
 2 files changed, 13 insertions(+), 13 deletions(-)
 create mode 100644 resources/db_update_scripts/db_update_2012-06-01.sql

diff --git a/resources/db_update_scripts/current.sql b/resources/db_update_scripts/current.sql
index 1a44f6e9b8..e69de29bb2 100644
--- a/resources/db_update_scripts/current.sql
+++ b/resources/db_update_scripts/current.sql
@@ -1,13 +0,0 @@
-CREATE TABLE IF NOT EXISTS unit (
-  `id` bigint(20) NOT NULL AUTO_INCREMENT,
-  `dateCreated` datetime NOT NULL,
-  `lastModified` datetime NOT NULL,
-  `identifier` bigint(20) DEFAULT NULL,
-  `title` varchar(255) NOT NULL,
-  `version` int(4) NOT NULL DEFAULT '0',
-  PRIMARY KEY (`id`),
-  UNIQUE KEY `identifier` (`identifier`)
-) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2925 ;
-
-ALTER TABLE role
-ADD unit_id bigint(20) DEFAULT NULL;
diff --git a/resources/db_update_scripts/db_update_2012-06-01.sql b/resources/db_update_scripts/db_update_2012-06-01.sql
new file mode 100644
index 0000000000..1a44f6e9b8
--- /dev/null
+++ b/resources/db_update_scripts/db_update_2012-06-01.sql
@@ -0,0 +1,13 @@
+CREATE TABLE IF NOT EXISTS unit (
+  `id` bigint(20) NOT NULL AUTO_INCREMENT,
+  `dateCreated` datetime NOT NULL,
+  `lastModified` datetime NOT NULL,
+  `identifier` bigint(20) DEFAULT NULL,
+  `title` varchar(255) NOT NULL,
+  `version` int(4) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `identifier` (`identifier`)
+) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2925 ;
+
+ALTER TABLE role
+ADD unit_id bigint(20) DEFAULT NULL;