Browse Source

- autoincrement route_tree id columns, remove default of '0'

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3566 689a6050-402a-0410-94f2-e92a70836424
Henning Westerholt 17 years ago
parent
commit
7a85c8e01b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      lib/srdb1/schema/route_tree.xml

+ 4 - 2
lib/srdb1/schema/route_tree.xml

@@ -20,9 +20,11 @@
 			  <name>id</name>
 			  <name>id</name>
 			  <type>unsigned int</type>
 			  <type>unsigned int</type>
 			  <size>&table_id_len;</size>
 			  <size>&table_id_len;</size>
-			  <primary/>
-			  <default>0</default>
 			  <natural/>
 			  <natural/>
+			  <autoincrement/>
+			  <primary/>
+			  <type db="postgres">SERIAL PRIMARY KEY</type>
+			  <type db="dbtext">int,auto</type>
 			  <description>unique ID</description>
 			  <description>unique ID</description>
 		  </column>
 		  </column>