Projekt

Allgemein

Profil

Herunterladen (1,15 KB) Statistiken
| Zweig: | Markierung: | Revision:
3ced230d Moritz Bunkus
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::AuthClient;

use strict;

d2c5f647 Moritz Bunkus
use parent qw(SL::DB::Object);
3ced230d Moritz Bunkus
b8b112a3 Sven Schöling
__PACKAGE__->meta->table('clients');
__PACKAGE__->meta->schema('auth');

__PACKAGE__->meta->columns(
c6dd542b Moritz Bunkus
dbhost => { type => 'text', not_null => 1 },
dbname => { type => 'text', not_null => 1 },
dbpasswd => { type => 'text', not_null => 1 },
dbport => { type => 'integer', default => 5432, not_null => 1 },
dbuser => { type => 'text', not_null => 1 },
id => { type => 'serial', not_null => 1 },
is_default => { type => 'boolean', default => 'false', not_null => 1 },
name => { type => 'text', not_null => 1 },
task_server_user_id => { type => 'integer' },
3ced230d Moritz Bunkus
);

b8b112a3 Sven Schöling
__PACKAGE__->meta->primary_key_columns([ 'id' ]);

__PACKAGE__->meta->unique_keys(
[ 'dbhost', 'dbport', 'dbname' ],
[ 'name' ],
);

c6dd542b Moritz Bunkus
__PACKAGE__->meta->foreign_keys(
task_server_user => {
class => 'SL::DB::AuthUser',
key_columns => { task_server_user_id => 'id' },
},
);

3ced230d Moritz Bunkus
1;
;