blob: e10b4a34be45db548b128e8f68f143e2b84bdea8 (
plain)
- -- You can simply execute this file in your database.
- --
- -- For MySQL run:
- --
- -- $ mysql --user=root --password=<MySQL-root-password> <db name> < 1.x_to_1.2.sql
- --
- -- Or, for PostgreSQL:
- --
- -- $ psql <db name> -f 1.x_to_1.2.sql
- ALTER TABLE turba_objects ADD COLUMN object_type VARCHAR(255) NOT NULL DEFAULT 'Object';
- ALTER TABLE turba_objects ADD COLUMN object_members BLOB;
- ALTER TABLE turba_objects CHANGE object_homeAddress object_homeaddress VARCHAR(255);
- ALTER TABLE turba_objects CHANGE object_workAddress object_workaddress VARCHAR(255);
- ALTER TABLE turba_objects CHANGE object_homePhone object_homephone VARCHAR(25);
- ALTER TABLE turba_objects CHANGE object_workPhone object_workphone VARCHAR(25);
- ALTER TABLE turba_objects CHANGE object_cellPhone object_cellphone VARCHAR(25);
|