[Pkg-owncloud-commits] [owncloud] 15/44: adding test for migrations on columns using keywords

David Prévot taffit at moszumanska.debian.org
Fri Mar 7 13:27:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 5e586995a8a38631bf118cd8b4f9c7631f25642c
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Wed Feb 26 20:42:45 2014 +0100

    adding test for migrations on columns using keywords
---
 tests/data/db_structure.xml  | 15 +++++++++++++++
 tests/data/db_structure2.xml | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/tests/data/db_structure.xml b/tests/data/db_structure.xml
index bfff214..27e9d81 100644
--- a/tests/data/db_structure.xml
+++ b/tests/data/db_structure.xml
@@ -222,4 +222,19 @@
   </declaration>
  </table>
 
+<table>
+	<name>*dbprefix*migratekeyword</name>
+
+	<declaration>
+
+	<field>
+		<name>key</name>
+		<type>text</type>
+		<default></default>
+		<notnull>true</notnull>
+		<length>255</length>
+	</field>
+	</declaration>
+</table>
+
 </database>
diff --git a/tests/data/db_structure2.xml b/tests/data/db_structure2.xml
index ae5f22e..aa6e94a 100644
--- a/tests/data/db_structure2.xml
+++ b/tests/data/db_structure2.xml
@@ -119,4 +119,19 @@
   </declaration>
  </table>
 
+	<table>
+		<name>*dbprefix*migratekeyword</name>
+
+		<declaration>
+
+			<field>
+				<name>key</name>
+				<type>text</type>
+				<default></default>
+				<notnull>false</notnull>
+				<length>255</length>
+			</field>
+		</declaration>
+	</table>
+
 </database>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list