Revision 57d97e2b
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/MetaSetup/ProjectPhase.pm | ||
---|---|---|
16 | 16 |
general_cost_per_hour => { type => 'numeric', default => '0', not_null => 1, precision => 5, scale => 15 }, |
17 | 17 |
general_minutes => { type => 'integer', default => '0', not_null => 1 }, |
18 | 18 |
id => { type => 'serial', not_null => 1 }, |
19 |
itime => { type => 'timestamp', default => '2013-05-08 09:11:09.704126' },
|
|
19 |
itime => { type => 'timestamp', default => 'now()' },
|
|
20 | 20 |
mtime => { type => 'timestamp' }, |
21 | 21 |
name => { type => 'text', not_null => 1 }, |
22 | 22 |
project_id => { type => 'integer' }, |
... | ... | |
25 | 25 |
|
26 | 26 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
27 | 27 |
|
28 |
__PACKAGE__->meta->allow_inline_column_values(1); |
|
29 |
|
|
28 | 30 |
__PACKAGE__->meta->foreign_keys( |
29 | 31 |
project => { |
30 | 32 |
class => 'SL::DB::Project', |
Auch abrufbar als: Unified diff
Defaultwerte für itime-Spalten fixen