Commit ae172764 authored by Vincent Pelletier's avatar Vincent Pelletier

Make user owner cannot be NULL.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18514 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9134e865
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="SQL" module="Products.ZSQLMethods.SQL"/>
<string>Products.ZSQLMethods.SQL</string> <tuple/>
<string>SQL</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -98,7 +95,7 @@ ...@@ -98,7 +95,7 @@
CREATE TABLE `catalog` (\n CREATE TABLE `catalog` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n `uid` BIGINT UNSIGNED NOT NULL,\n
`security_uid` INT UNSIGNED,\n `security_uid` INT UNSIGNED,\n
`owner` varchar(32) default \'\',\n `owner` varchar(32) NOT NULL default \'\',\n
`path` varchar(255) NOT NULL default \'\',\n `path` varchar(255) NOT NULL default \'\',\n
`relative_url` varchar(255) NOT NULL default \'\',\n `relative_url` varchar(255) NOT NULL default \'\',\n
`parent_uid` BIGINT UNSIGNED default \'0\',\n `parent_uid` BIGINT UNSIGNED default \'0\',\n
...@@ -152,9 +149,11 @@ CREATE TABLE `catalog` (\n ...@@ -152,9 +149,11 @@ CREATE TABLE `catalog` (\n
<value> <value>
<object> <object>
<klass> <klass>
<global name="SQL" module="Shared.DC.ZRDB.DA"/> <global name="__newobj__" module="copy_reg"/>
</klass> </klass>
<none/> <tuple>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</tuple>
<state> <state>
<dictionary> <dictionary>
<item> <item>
...@@ -186,7 +185,7 @@ CREATE TABLE `catalog` (\n ...@@ -186,7 +185,7 @@ CREATE TABLE `catalog` (\n
CREATE TABLE `catalog` (\n CREATE TABLE `catalog` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n `uid` BIGINT UNSIGNED NOT NULL,\n
`security_uid` INT UNSIGNED,\n `security_uid` INT UNSIGNED,\n
`owner` varchar(32) default \'\',\n `owner` varchar(32) NOT NULL default \'\',\n
`path` varchar(255) NOT NULL default \'\',\n `path` varchar(255) NOT NULL default \'\',\n
`relative_url` varchar(255) NOT NULL default \'\',\n `relative_url` varchar(255) NOT NULL default \'\',\n
`parent_uid` BIGINT UNSIGNED default \'0\',\n `parent_uid` BIGINT UNSIGNED default \'0\',\n
......
87 88
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment