Rose-Models für Mandantentabellen
[kivitendo-erp.git] / SL / DB / MetaSetup / AuthClient.pm
1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::AuthClient;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'clients',
11
12   columns => [
13     id         => { type => 'serial', not_null => 1 },
14     name       => { type => 'text', not_null => 1 },
15     dbhost     => { type => 'text', not_null => 1 },
16     dbport     => { type => 'integer', default => 5432, not_null => 1 },
17     dbname     => { type => 'text', not_null => 1 },
18     dbuser     => { type => 'text', not_null => 1 },
19     dbpasswd   => { type => 'text', not_null => 1 },
20     is_default => { type => 'boolean', default => 'false', not_null => 1 },
21   ],
22
23   primary_key_columns => [ 'id' ],
24
25   unique_keys => [
26     [ 'dbhost', 'dbport', 'dbname' ],
27     [ 'name' ],
28   ],
29 );
30
31 1;
32 ;