X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FVendor.pm;h=9a113fa7e8c28eccd289d34182f2a92eb2f89de4;hb=b50f89e56d91662eb69a47351c430ff6270c7d39;hp=0493aa3744de4a42c8f3662b4b507372f0929bbc;hpb=37ce1a9c9052de31c299f37bdf591a8d87e3963a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Vendor.pm b/SL/DB/MetaSetup/Vendor.pm index 0493aa374..9a113fa7e 100644 --- a/SL/DB/MetaSetup/Vendor.pm +++ b/SL/DB/MetaSetup/Vendor.pm @@ -9,51 +9,51 @@ use base qw(SL::DB::Object); __PACKAGE__->meta->table('vendor'); __PACKAGE__->meta->columns( - account_number => { type => 'varchar', length => 15 }, + account_number => { type => 'text' }, bank => { type => 'text' }, - bank_code => { type => 'varchar', length => 10 }, + bank_code => { type => 'text' }, bcc => { type => 'text' }, - bic => { type => 'varchar', length => 100 }, + bic => { type => 'text' }, business_id => { type => 'integer' }, cc => { type => 'text' }, - city => { type => 'varchar', length => 75 }, - contact => { type => 'varchar', length => 75 }, - country => { type => 'varchar', length => 75 }, - creditlimit => { type => 'numeric', precision => 5, scale => 15 }, + city => { type => 'text' }, + contact => { type => 'text' }, + country => { type => 'text' }, + creditlimit => { type => 'numeric', precision => 15, scale => 5 }, currency_id => { type => 'integer', not_null => 1 }, delivery_term_id => { type => 'integer' }, - department_1 => { type => 'varchar', length => 75 }, - department_2 => { type => 'varchar', length => 75 }, + department_1 => { type => 'text' }, + department_2 => { type => 'text' }, depositor => { type => 'text' }, direct_debit => { type => 'boolean', default => 'false' }, - discount => { type => 'float', precision => 4 }, + discount => { type => 'float', scale => 4 }, email => { type => 'text' }, - fax => { type => 'varchar', length => 30 }, + fax => { type => 'text' }, greeting => { type => 'text' }, homepage => { type => 'text' }, - iban => { type => 'varchar', length => 100 }, + iban => { type => 'text' }, id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, language => { type => 'varchar', length => 5 }, language_id => { type => 'integer' }, mtime => { type => 'timestamp' }, - name => { type => 'varchar', length => 75, not_null => 1 }, + name => { type => 'text', not_null => 1 }, notes => { type => 'text' }, obsolete => { type => 'boolean', default => 'false' }, payment_id => { type => 'integer' }, phone => { type => 'text' }, salesman_id => { type => 'integer' }, - street => { type => 'varchar', length => 75 }, + street => { type => 'text' }, taxincluded => { type => 'boolean' }, taxnumber => { type => 'text' }, taxzone_id => { type => 'integer', default => '0', not_null => 1 }, terms => { type => 'integer', default => '0' }, - user_password => { type => 'varchar', length => 12 }, - username => { type => 'varchar', length => 50 }, - ustid => { type => 'varchar', length => 14 }, + user_password => { type => 'text' }, + username => { type => 'text' }, + ustid => { type => 'text' }, v_customer_id => { type => 'text' }, vendornumber => { type => 'text' }, - zipcode => { type => 'varchar', length => 10 }, + zipcode => { type => 'text' }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]);