Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

Migration script old osCommerce version. #15

Open
w2vy opened this issue Sep 29, 2022 · 2 comments
Open

Migration script old osCommerce version. #15

w2vy opened this issue Sep 29, 2022 · 2 comments

Comments

@w2vy
Copy link

w2vy commented Sep 29, 2022

I see the migration script on the TODO list but no issue, so here's one...

I have a osc 2.3.2 shop that I need to upgrade to PHP8

I am one of the old core devs from a long time ago...

@w2vy
Copy link
Author

w2vy commented Sep 30, 2022

osc232 is my existing db and vosc is yours

tom@w2vy:$ mysqldiff --server1=xxxxxx@localhost --server2=yyyy@localhost osc232:vosc
WARNING: Using a password on the command line interface can be insecure.
server1 on localhost: ... connected.
server2 on localhost: ... connected.
WARNING: Objects in server1.osc232 but not in server1.vosc:
TABLE: banners_history
TABLE: reviews_description
TABLE: counter_history
TABLE: whos_online
TABLE: banners
TABLE: counter
WARNING: Objects in server1.vosc but not in server1.osc232:
TABLE: information_pages_content
TABLE: customers_wishlist_attributes
TABLE: customers_wishlist
TABLE: oscom_app_paypal_log
TABLE: customers_braintree_tokens
TABLE: information_pages
Compare failed. One or more differences found.
tom@w2vy:~$

I can stand losing the reviews, I don't use banners and the counters won't be missed

The infomation_pages can easily be manually added, so maybe it won't be that hard.
Are there big changes in the configuration defines?

@w2vy
Copy link
Author

w2vy commented Oct 2, 2022

I discovered that reviews_description was merged into the reviews table, happily I only had a couple dozen reviews so I migrated them by hand

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant