Revision 1b3afb17
Von Bernd Bleßmann vor mehr als 2 Jahren hinzugefügt
SL/DB/MetaSetup/FollowUp.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('follow_ups'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
created_by => { type => 'integer', not_null => 1 }, |
|
13 |
created_for_user => { type => 'integer', not_null => 1 }, |
|
14 |
done => { type => 'boolean', default => 'false' }, |
|
15 |
follow_up_date => { type => 'date', not_null => 1 }, |
|
16 |
id => { type => 'integer', not_null => 1, sequence => 'follow_up_id' }, |
|
17 |
itime => { type => 'timestamp', default => 'now()' }, |
|
18 |
mtime => { type => 'timestamp' }, |
|
19 |
note_id => { type => 'integer', not_null => 1 }, |
|
12 |
created_by => { type => 'integer', not_null => 1 }, |
|
13 |
done => { type => 'boolean', default => 'false' }, |
|
14 |
follow_up_date => { type => 'date', not_null => 1 }, |
|
15 |
id => { type => 'integer', not_null => 1, sequence => 'follow_up_id' }, |
|
16 |
itime => { type => 'timestamp', default => 'now()' }, |
|
17 |
mtime => { type => 'timestamp' }, |
|
18 |
note_id => { type => 'integer', not_null => 1 }, |
|
20 | 19 |
); |
21 | 20 |
|
22 | 21 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
... | ... | |
29 | 28 |
key_columns => { created_by => 'id' }, |
30 | 29 |
}, |
31 | 30 |
|
32 |
created_for_employee => { |
|
33 |
class => 'SL::DB::Employee', |
|
34 |
key_columns => { created_for_user => 'id' }, |
|
35 |
}, |
|
36 |
|
|
37 | 31 |
note => { |
38 | 32 |
class => 'SL::DB::Note', |
39 | 33 |
key_columns => { note_id => 'id' }, |
Auch abrufbar als: Unified diff
Wiedervorlage für mehrere Benutzer: DB-Upgrade und Rose