I'm following the directions here and not having any luck.
File I've created:
Code:
/custom/Extension/modules/Accounts/Ext/Vardefs/updated_vardefs.php
Contents of updated_vardefs.php:
Code:
<?php
$dictionary['Accounts']['fields']['id']['len'] = 50;
?> To execute these changes I'm going to Admin -> Repair -> Quick Repair and Rebuild.
The summary textarea that explains what changes will be made shows the 'id' field in 'Accounts' being changed to a length of 36 (I've already manually changed the field length in the db table):
Code:
/* Table : accounts */
/*COLUMNS*/
/*MISMATCH WITH DATABASE - id - ROW [name] => 'id' [type] => 'char' [len] => '50' */
/* VARDEF - id - ROW[name] => 'id' [vname] => 'LBL_ID' [type] => 'char' [required] => 'true' [reportable] => '1' [comment] => 'Unique identifier' [dbType] => 'id' [len] => '36' */
/* INDEXES */
ALTER TABLE accounts modify column id char(36) NOT NULL ;
Any ideas?
Bookmarks