Skip to content

Instantly share code, notes, and snippets.

@einpraegsam
Created January 22, 2018 10:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save einpraegsam/a02bb69c29aa747de4ffb613704bbd7a to your computer and use it in GitHub Desktop.
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
# 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;
@Pistil-Studio
Copy link

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