From 8ec266d58cabe3fcd03543ec0fe06ce0d163d749 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 28 Feb 2017 12:43:24 +0100 Subject: [PATCH] =?utf8?q?MetaSetup-Update=20zu=20DB-Upgrade=20=C2=BBpart?= =?utf8?q?=5Fclassifications.sql=C2=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/MetaSetup/PartClassification.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' ]); -- 2.20.1