Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c6dd542b

Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt

  • ID c6dd542b51ae9549ad42a54f9023b905412bbab9
  • Vorgänger 6162711f
  • Nachfolger 0fce1b51

Task-Server: Mandantenfähigkeit

Unterschiede anzeigen:

SL/DB/MetaSetup/AuthClient.pm
__PACKAGE__->meta->schema('auth');
__PACKAGE__->meta->columns(
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 },
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' },
);
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
......
[ 'name' ],
);
__PACKAGE__->meta->foreign_keys(
task_server_user => {
class => 'SL::DB::AuthUser',
key_columns => { task_server_user_id => 'id' },
},
);
1;
;

Auch abrufbar als: Unified diff