X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/841d44c00aae1166a0721e40dc2f9ffb7b9ac5b5..ada964d139eb652502bbdec96adf8634e49d8872:/SL/DB/MetaSetup/AuthGroup.pm diff --git a/SL/DB/MetaSetup/AuthGroup.pm b/SL/DB/MetaSetup/AuthGroup.pm index 9e75aac33..2671cef8b 100644 --- a/SL/DB/MetaSetup/AuthGroup.pm +++ b/SL/DB/MetaSetup/AuthGroup.pm @@ -6,20 +6,20 @@ use strict; use base qw(SL::DB::Object); -__PACKAGE__->meta->setup( - table => 'group', - schema => 'auth', +__PACKAGE__->meta->table('group'); +__PACKAGE__->meta->schema('auth'); - columns => [ - id => { type => 'serial', not_null => 1 }, - name => { type => 'text', not_null => 1 }, - description => { type => 'text' }, - ], +__PACKAGE__->meta->columns( + id => { type => 'serial', not_null => 1 }, + name => { type => 'text', not_null => 1 }, + description => { type => 'text' }, +); - primary_key_columns => [ 'id' ], +__PACKAGE__->meta->primary_key_columns([ 'id' ]); - unique_key => [ 'name' ], -); +__PACKAGE__->meta->unique_keys([ 'name' ]); + +# __PACKAGE__->meta->initialize; 1; ;