Skip to content

Instantly share code, notes, and snippets.

@DavidBruchmann
Forked from einpraegsam/Update.sql
Last active January 12, 2019 14:42
Show Gist options
  • Save DavidBruchmann/41930046426dd019dd26e255ac1c8d8a to your computer and use it in GitHub Desktop.
Save DavidBruchmann/41930046426dd019dd26e255ac1c8d8a 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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment