[7.1beta2] Contact table not created properly on install #12

Closed
opened 2026-02-20 14:13:49 -05:00 by deekerman · 1 comment
Owner

Originally created by @gunnicom on GitHub (Mar 24, 2014).

After install, database table for contacts was not created correct. Creating a contact resulted in an error. Quick repair does repair it:

/* Table : cases /
/COLUMNS/
/MISSING IN DATABASE - state - ROW/
/
INDEXES /
ALTER TABLE cases add COLUMN state varchar(100) DEFAULT 'Open' NULL ;
/
Table : contacts /
/COLUMNS/
/MISSING IN DATABASE - joomla_account_id - ROW/
/MISSING IN DATABASE - portal_account_disabled - ROW/
/MISSING IN DATABASE - portal_user_type - ROW/
/
INDEXES */
ALTER TABLE contacts add COLUMN joomla_account_id varchar(255) NULL , add COLUMN portal_account_disabled bool DEFAULT '0' NULL , add COLUMN portal_user_type varchar(100) DEFAULT 'Single' NULL ;

Originally created by @gunnicom on GitHub (Mar 24, 2014). After install, database table for contacts was not created correct. Creating a contact resulted in an error. Quick repair does repair it: /\* Table : cases _/ /_COLUMNS_/ /_MISSING IN DATABASE - state - ROW_/ /_ INDEXES _/ ALTER TABLE cases add COLUMN state varchar(100) DEFAULT 'Open' NULL ; /_ Table : contacts _/ /_COLUMNS_/ /_MISSING IN DATABASE - joomla_account_id - ROW_/ /_MISSING IN DATABASE - portal_account_disabled - ROW_/ /_MISSING IN DATABASE - portal_user_type - ROW_/ /_ INDEXES */ ALTER TABLE contacts add COLUMN joomla_account_id varchar(255) NULL , add COLUMN portal_account_disabled bool DEFAULT '0' NULL , add COLUMN portal_user_type varchar(100) DEFAULT 'Single' NULL ;
Author
Owner

@mattlorimer commented on GitHub (Jul 7, 2014):

Fixed

@mattlorimer commented on GitHub (Jul 7, 2014): Fixed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#12
No description provided.