From afdb98583963589e6a8e12fff56a66470d53ab1c Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 26 Dec 2007 10:40:21 +0000 Subject: [PATCH] Make owner column NOT NULL. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18515 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_catalog/erp5_mysql_innodb/z_create_catalog.xml | 4 ++-- bt5/erp5_banking_core/bt/revision | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_catalog.xml b/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_catalog.xml index ed4c977ac0..a3a1a6f941 100644 --- a/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_catalog.xml +++ b/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_catalog.xml @@ -96,7 +96,7 @@ CREATE TABLE `catalog` (\n `uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n `security_uid` INT UNSIGNED,\n `path` varchar(255) NOT NULL default \'\',\n - `owner` varchar(32) default \'\',\n + `owner` varchar(32) NOT NULL default \'\',\n `relative_url` varchar(255) NOT NULL default \'\',\n `parent_uid` BIGINT UNSIGNED default \'0\',\n `id` varchar(255) default \'\',\n @@ -173,7 +173,7 @@ CREATE TABLE `catalog` (\n `uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n `security_uid` INT UNSIGNED,\n `path` varchar(255) NOT NULL default \'\',\n - `owner` varchar(32) default \'\',\n + `owner` varchar(32) NOT NULL default \'\',\n `relative_url` varchar(255) NOT NULL default \'\',\n `parent_uid` BIGINT UNSIGNED default \'0\',\n `id` varchar(255) default \'\',\n diff --git a/bt5/erp5_banking_core/bt/revision b/bt5/erp5_banking_core/bt/revision index 5f7b1b0513..ffe78b01d3 100644 --- a/bt5/erp5_banking_core/bt/revision +++ b/bt5/erp5_banking_core/bt/revision @@ -1 +1 @@ -399 \ No newline at end of file +401 \ No newline at end of file -- 2.30.9