瀏覽代碼

- add 'naturalkey' to template file

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3014 689a6050-402a-0410-94f2-e92a70836424
Henning Westerholt 18 年之前
父節點
當前提交
42d74a5e11
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      lib/srdb1/schema/template.xml

+ 7 - 0
lib/srdb1/schema/template.xml

@@ -38,6 +38,13 @@
         <description>column documentation</description>
     </column>
 
+    <column id="another_id">
+        <name>test123</name>
+        <type>string</type>
+        <size>25</size>
+        <naturalkey/><!-- This column is a natural key for non SQL databases, e.g. db_berkeley -->
+    </column>
+
     <index>
         <name>bar</name>
         <!--<unique/> -> UNIQUE KEY -->