Revision 4913ebdd
Von Tamino Steinert vor 12 Monaten hinzugefügt
SL/DB/MetaSetup/VariantProperty.pm | ||
---|---|---|
__PACKAGE__->meta->table('variant_properties');
|
||
|
||
__PACKAGE__->meta->columns(
|
||
abbreviation => { type => 'varchar', length => 4, not_null => 1 },
|
||
abbreviation => { type => 'text', not_null => 1 },
|
||
id => { type => 'serial', not_null => 1 },
|
||
itime => { type => 'timestamp', default => 'now()' },
|
||
mtime => { type => 'timestamp' },
|
SL/DB/MetaSetup/VariantPropertyValue.pm | ||
---|---|---|
__PACKAGE__->meta->table('variant_property_values');
|
||
|
||
__PACKAGE__->meta->columns(
|
||
abbreviation => { type => 'varchar', length => 4, not_null => 1 },
|
||
abbreviation => { type => 'text', not_null => 1 },
|
||
id => { type => 'serial', not_null => 1 },
|
||
itime => { type => 'timestamp', default => 'now()' },
|
||
mtime => { type => 'timestamp' },
|
sql/Pg-upgrade2/change_variant_properties_abbreviation_to_text.sql | ||
---|---|---|
-- @tag: change_variant_properties_abbreviation_to_text
|
||
-- @description: Freitext bei Abkürzung von Varianteneigenschaften und Ausprägungen zulassen
|
||
-- @depends: add_variants
|
||
-- @ignore: 0
|
||
|
||
ALTER TABLE variant_properties ALTER COLUMN abbreviation TYPE text;
|
||
ALTER TABLE variant_property_values ALTER COLUMN abbreviation TYPE text;
|
Auch abrufbar als: Unified diff
Varianten: Eigenschaft und Auspr.: Länge von Abkürzungen nicht vorgeben