5e9d59e04bd94d120c8bb5f0bd53945ef54d8a3a
[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 parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('clients');
10 __PACKAGE__->meta->schema('auth');
11
12 __PACKAGE__->meta->columns(
13   dbhost     => { type => 'text', not_null => 1 },
14   dbname     => { type => 'text', not_null => 1 },
15   dbpasswd   => { type => 'text', not_null => 1 },
16   dbport     => { type => 'integer', default => 5432, not_null => 1 },
17   dbuser     => { type => 'text', not_null => 1 },
18   id         => { type => 'serial', not_null => 1 },
19   is_default => { type => 'boolean', default => 'false', not_null => 1 },
20   name       => { type => 'text', not_null => 1 },
21 );
22
23 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
24
25 __PACKAGE__->meta->unique_keys(
26   [ 'dbhost', 'dbport', 'dbname' ],
27   [ 'name' ],
28 );
29
30 1;
31 ;