]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/MetaSetup/DeliveryTerm.pm
restart apache2 in postinst
[mfinanz.git] / SL / DB / MetaSetup / DeliveryTerm.pm
index 672aba18d8c1633722cda6566f58dad3e18792b8..6dcf94c985998b8c6eae820a4ad09fc5215aeb36 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::DeliveryTerm;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('delivery_terms');
 
@@ -14,6 +14,7 @@ __PACKAGE__->meta->columns(
   id               => { type => 'integer', not_null => 1, sequence => 'id' },
   itime            => { type => 'timestamp', default => 'now()' },
   mtime            => { type => 'timestamp' },
+  obsolete         => { type => 'boolean', default => 'false', not_null => 1 },
   sortkey          => { type => 'integer', not_null => 1 },
 );