Created
January 22, 2018 10:42
-
-
Save einpraegsam/a02bb69c29aa747de4ffb613704bbd7a to your computer and use it in GitHub Desktop.
Update TYPO3 Powermail from 2.x to 5.x or a newer version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Just copy all tables from plural to singular naming | |
create table tx_powermail_domain_model_form LIKE tx_powermail_domain_model_forms; | |
insert tx_powermail_domain_model_form select * from tx_powermail_domain_model_forms; | |
create table tx_powermail_domain_model_page LIKE tx_powermail_domain_model_pages; | |
insert tx_powermail_domain_model_page select * from tx_powermail_domain_model_pages; | |
create table tx_powermail_domain_model_field LIKE tx_powermail_domain_model_fields; | |
insert tx_powermail_domain_model_field select * from tx_powermail_domain_model_fields; | |
create table tx_powermail_domain_model_mail LIKE tx_powermail_domain_model_mails; | |
insert tx_powermail_domain_model_mail select * from tx_powermail_domain_model_mails; | |
create table tx_powermail_domain_model_answer LIKE tx_powermail_domain_model_answers; | |
insert tx_powermail_domain_model_answer select * from tx_powermail_domain_model_answers; |
drop table tx_powermail_domain_model_answer;
was missing
What’s the difference to just rename the tables?
RENAME TABLE
tx_powermail_domain_model_forms TO tx_powermail_domain_model_form,
tx_powermail_domain_model_pages TO tx_powermail_domain_model_page,
tx_powermail_domain_model_fields TO tx_powermail_domain_model_field,
tx_powermail_domain_model_mails TO tx_powermail_domain_model_mail,
tx_powermail_domain_model_answers TO tx_powermail_domain_model_answer;
What’s the difference to just rename the tables?
for me no differences, your tips work perfectly thx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks helped me alot!