X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b8b112a39bd601b0bc717646d78de470631da22a..d2c5f6474ebd578ce46e09484780cfea556abb5e:/SL/DB/MetaSetup/AuthClient.pm diff --git a/SL/DB/MetaSetup/AuthClient.pm b/SL/DB/MetaSetup/AuthClient.pm index 8eb841cdd..5e9d59e04 100644 --- a/SL/DB/MetaSetup/AuthClient.pm +++ b/SL/DB/MetaSetup/AuthClient.pm @@ -4,20 +4,20 @@ package SL::DB::AuthClient; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('clients'); __PACKAGE__->meta->schema('auth'); __PACKAGE__->meta->columns( - id => { type => 'serial', not_null => 1 }, - name => { type => 'text', not_null => 1 }, dbhost => { type => 'text', not_null => 1 }, - dbport => { type => 'integer', default => 5432, not_null => 1 }, dbname => { type => 'text', not_null => 1 }, - dbuser => { 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 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -27,7 +27,5 @@ __PACKAGE__->meta->unique_keys( [ 'name' ], ); -# __PACKAGE__->meta->initialize; - 1; ;