From: Moritz Bunkus Date: Tue, 28 Feb 2017 11:43:24 +0000 (+0100) Subject: MetaSetup-Update zu DB-Upgrade »part_classifications.sql« X-Git-Tag: release-3.5.4~1256 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8ec266d58cabe3fcd03543ec0fe06ce0d163d749;p=kivitendo-erp.git MetaSetup-Update zu DB-Upgrade »part_classifications.sql« --- diff --git a/SL/DB/MetaSetup/PartClassification.pm b/SL/DB/MetaSetup/PartClassification.pm index 0377ee557..4fbd0222d 100644 --- a/SL/DB/MetaSetup/PartClassification.pm +++ b/SL/DB/MetaSetup/PartClassification.pm @@ -12,9 +12,9 @@ __PACKAGE__->meta->columns( abbreviation => { type => 'text' }, description => { type => 'text' }, id => { type => 'serial', not_null => 1 }, - report_separate => { type => 'boolean', default => 'false' }, - used_for_purchase => { type => 'boolean', default => 'true' }, - used_for_sale => { type => 'boolean', default => 'true' }, + report_separate => { type => 'boolean', default => 'false', not_null => 1 }, + used_for_purchase => { type => 'boolean', default => 'true', not_null => 1 }, + used_for_sale => { type => 'boolean', default => 'true', not_null => 1 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]);