From 82349c1ed1027244965c0da6ecdd8793d365d01a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 8 Feb 2012 18:05:03 +0100 Subject: [PATCH] rdbo: chargenumber in inventory not null default '' --- SL/DB/MetaSetup/Inventory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/MetaSetup/Inventory.pm b/SL/DB/MetaSetup/Inventory.pm index e732f88ce..e2093efe8 100644 --- a/SL/DB/MetaSetup/Inventory.pm +++ b/SL/DB/MetaSetup/Inventory.pm @@ -23,7 +23,7 @@ __PACKAGE__->meta->setup( trans_id => { type => 'integer', not_null => 1 }, trans_type_id => { type => 'integer', not_null => 1 }, project_id => { type => 'integer' }, - chargenumber => { type => 'text' }, + chargenumber => { type => 'text', default => '', not_null => 1 }, comment => { type => 'text' }, bestbefore => { type => 'date' }, id => { type => 'serial', not_null => 1 }, -- 2.20.1