city => 75,
country => 75,
contact => 75,
- phone => 30,
fax => 30,
account_number => 15,
bank_code => 10,
city => { type => 'varchar', length => 75 },
country => { type => 'varchar', length => 75 },
contact => { type => 'text' },
- phone => { type => 'varchar', length => 30 },
+ phone => { type => 'text' },
fax => { type => 'varchar', length => 30 },
homepage => { type => 'text' },
email => { type => 'text' },
city => { type => 'varchar', length => 75 },
country => { type => 'varchar', length => 75 },
contact => { type => 'varchar', length => 75 },
- phone => { type => 'varchar', length => 30 },
+ phone => { type => 'text' },
fax => { type => 'varchar', length => 30 },
homepage => { type => 'text' },
email => { type => 'text' },
--- /dev/null
+-- @tag: customer_vendor_phone_no_limits
+-- @description: Keine Längenbeschränkung für Spalte phone in den Tabellen customer und vendor.
+-- @depends: release_2_7_0
+-- @charset: utf-8
+
+ALTER TABLE customer ALTER COLUMN phone TYPE text;
+ALTER TABLE vendor ALTER COLUMN phone TYPE text;
<tr>
<th align="right" nowrap>[% 'Phone' | $T8 %]</th>
- <td><input name="phone" size="30" maxlength="30" value="[% HTML.escape(phone) %]"></td>
+ <td><input name="phone" size="30" value="[% HTML.escape(phone) %]"></td>
</tr>
<tr>