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;
 
   7 use parent qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->table('clients');
 
  10 __PACKAGE__->meta->schema('auth');
 
  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   task_server_user_id => { type => 'integer' },
 
  24 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
  26 __PACKAGE__->meta->unique_keys(
 
  27   [ 'dbhost', 'dbport', 'dbname' ],
 
  31 __PACKAGE__->meta->foreign_keys(
 
  33     class       => 'SL::DB::AuthUser',
 
  34     key_columns => { task_server_user_id => 'id' },