iban => { type => 'text' },
id => { type => 'integer', not_null => 1, sequence => 'id' },
itime => { type => 'timestamp', default => 'now()' },
- language => { type => 'varchar', length => 5 },
+ language => { type => 'text' },
language_id => { type => 'integer' },
mtime => { type => 'timestamp' },
name => { type => 'text', not_null => 1 },
street => { type => 'text' },
taxincluded => { type => 'boolean' },
taxnumber => { type => 'text' },
- taxzone_id => { type => 'integer', default => '0', not_null => 1 },
+ taxzone_id => { type => 'integer', not_null => 1 },
terms => { type => 'integer', default => '0' },
user_password => { type => 'text' },
username => { type => 'text' },
class => 'SL::DB::PaymentTerm',
key_columns => { payment_id => 'id' },
},
+
+ taxzone => {
+ class => 'SL::DB::TaxZone',
+ key_columns => { taxzone_id => 'id' },
+ },
);
1;