Revision eb58f108
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/MetaSetup/MakeModel.pm | ||
---|---|---|
10 | 10 |
table => 'makemodel', |
11 | 11 |
|
12 | 12 |
columns => [ |
13 |
parts_id => { type => 'integer' }, |
|
14 |
model => { type => 'text' }, |
|
15 |
itime => { type => 'timestamp', default => 'now()' }, |
|
16 |
mtime => { type => 'timestamp' }, |
|
17 |
make => { type => 'integer' }, |
|
18 |
id => { type => 'serial', not_null => 1 }, |
|
13 |
parts_id => { type => 'integer' }, |
|
14 |
model => { type => 'text' }, |
|
15 |
itime => { type => 'timestamp', default => 'now()' }, |
|
16 |
mtime => { type => 'timestamp' }, |
|
17 |
lastcost => { type => 'numeric', precision => 5, scale => 15 }, |
|
18 |
lastupdate => { type => 'date' }, |
|
19 |
sortorder => { type => 'integer' }, |
|
20 |
make => { type => 'integer' }, |
|
21 |
id => { type => 'serial', not_null => 1 }, |
|
19 | 22 |
], |
20 | 23 |
|
21 | 24 |
primary_key_columns => [ 'id' ], |
Auch abrufbar als: Unified diff
Aktualisierung der RDBO-Models anhand des aktuellen Datebankschemas