Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1561b7f3

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID 1561b7f3d98390ba97bd5a81945f16e82d96915b
  • Vorgänger 55e399ab
  • Nachfolger 0ce8f2d4

Rose-Setup Pflichtenhefte/Projekte an Umstellung setup()/initialize() angepasst

Unterschiede anzeigen:

SL/DB/MetaSetup/ProjectRole.pm
6 6

  
7 7
use base qw(SL::DB::Object);
8 8

  
9
__PACKAGE__->meta->setup(
10
  table   => 'project_roles',
9
__PACKAGE__->meta->table('project_roles');
11 10

  
12
  columns => [
13
    id          => { type => 'serial', not_null => 1 },
14
    name        => { type => 'text', not_null => 1 },
15
    description => { type => 'text', not_null => 1 },
16
    position    => { type => 'integer', not_null => 1 },
17
    itime       => { type => 'timestamp', default => '06.05.2013 14:26:18.81159' },
18
    mtime       => { type => 'timestamp' },
19
  ],
20

  
21
  primary_key_columns => [ 'id' ],
11
__PACKAGE__->meta->columns(
12
  description => { type => 'text', not_null => 1 },
13
  id          => { type => 'serial', not_null => 1 },
14
  itime       => { type => 'timestamp', default => '2013-05-08 09:11:09.704126' },
15
  mtime       => { type => 'timestamp' },
16
  name        => { type => 'text', not_null => 1 },
17
  position    => { type => 'integer', not_null => 1 },
22 18
);
23 19

  
20
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
21

  
24 22
1;
25 23
;

Auch abrufbar als: Unified diff