ALTER TABLE i18n ADD COLUMN is_active int(1) NOT NULL DEFAULT 1;
-ALTER TABLE i18n ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('i18n');
\ No newline at end of file
-- finally - always innodb
- ALTER TABLE Person ENGINE=InnoDB;
+ call mysql_change_engine('Person');
);
-ALTER TABLE core_email ENGINE=InnoDB;
+call mysql_change_engine('core_email');
UPDATE core_email SET updated_dt = NOW();
\ No newline at end of file
UPDATE core_enum SET display_name = name WHERE display_name = '';
-ALTER TABLE core_enum ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_enum');
\ No newline at end of file
-- used by email / tracker to handle alises - we have to be carefull adding to this table...
-ALTER TABLE core_notify ENGINE=InnoDB;
+call mysql_change_engine('core_notify');
ALTER TABLE core_notify ADD COLUMN person_table VARCHAR(256) NOT NULL DEFAULT '';
\ No newline at end of file
CREATE INDEX client_id_idx ON core_oauth_access_tokens (client_id) USING BTREE;
CREATE INDEX user_id_idx ON core_oauth_access_tokens (user_id) USING BTREE;
-ALTER TABLE core_oauth_access_tokens ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_oauth_access_tokens');
\ No newline at end of file
CREATE INDEX redirect_uri_idx ON core_oauth_clients (redirect_uri) USING BTREE;
CREATE INDEX user_id_idx ON core_oauth_clients (user_id) USING BTREE;
-ALTER TABLE core_oauth_clients ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_oauth_clients');
\ No newline at end of file
CREATE INDEX client_id_idx ON core_oauth_jwt (client_id) USING BTREE;
CREATE INDEX public_key_idx ON core_oauth_jwt (public_key) USING BTREE;
-ALTER TABLE core_oauth_jwt ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_oauth_jwt');
\ No newline at end of file
CREATE INDEX client_id_idx ON core_oauth_refresh_tokens (client_id) USING BTREE;
CREATE INDEX user_id_idx ON core_oauth_refresh_tokens (user_id) USING BTREE;
-ALTER TABLE core_oauth_refresh_tokens ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_oauth_refresh_tokens');
\ No newline at end of file
PRIMARY KEY (id)
);
-ALTER TABLE core_oauth_scopes ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_oauth_scopes');
\ No newline at end of file
ALTER TABLE core_person_signup ADD COLUMN phone varchar(256) NOT NULL DEFAULT '';
-ALTER TABLE core_person_signup ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_person_signup');
\ No newline at end of file
ALTER TABLE core_watch ADD INDEX qlookup (ontable,onid,person_id,event,medium);
-ALTER TABLE core_watch ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('core_watch');
\ No newline at end of file
ALTER TABLE Events ADD INDEX lookupf (on_id, action, on_table, person_id, event_when, person_table);
-call mysql_change_engine('Events'); -- ALTER TABLE Events ENGINE=InnoDB;
+call mysql_change_engine('Events'); -- call mysql_change_engine('Events');
\ No newline at end of file
ALTER TABLE Images ADD INDEX lookupc(created, ontable, onid
-ALTER TABLE Images ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('Images');
\ No newline at end of file
ALTER TABLE ProjectDirectory ADD INDEX plookup (project_id,person_id, ispm, role);
-ALTER TABLE ProjectDirectory ENGINE=InnoDB;
\ No newline at end of file
+call mysql_change_engine('ProjectDirectory');
\ No newline at end of file