Revision 687a09d8
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/MetaSetup/RequirementSpecVersion.pm | ||
---|---|---|
14 | 14 |
id => { type => 'serial', not_null => 1 }, |
15 | 15 |
itime => { type => 'timestamp', default => 'now()' }, |
16 | 16 |
mtime => { type => 'timestamp' }, |
17 |
order_date => { type => 'date' }, |
|
18 |
order_id => { type => 'integer' }, |
|
19 |
order_number => { type => 'text' }, |
|
20 | 17 |
version_number => { type => 'integer' }, |
21 | 18 |
); |
22 | 19 |
|
... | ... | |
24 | 21 |
|
25 | 22 |
__PACKAGE__->meta->allow_inline_column_values(1); |
26 | 23 |
|
27 |
__PACKAGE__->meta->foreign_keys( |
|
28 |
order => { |
|
29 |
class => 'SL::DB::Order', |
|
30 |
key_columns => { order_id => 'id' }, |
|
31 |
}, |
|
32 |
); |
|
33 |
|
|
34 | 24 |
1; |
35 | 25 |
; |
Auch abrufbar als: Unified diff
Pflichtenheft-Angebot/Auftrag: DB-Schema & Models