Post by gsc1ugs » Sun Oct 08, 2023 1:22 am

Can someone please tell me when the big change was made with tables in the DB ? was it before version 3.0.0.0 or a lower version of 3

3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8
Last edited by gsc1ugs on Sun Oct 08, 2023 10:05 pm, edited 2 times in total.

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by straightlight » Sun Oct 08, 2023 6:01 am

gsc1ugs wrote:
Sun Oct 08, 2023 1:22 am
Can someone please tell me when the big change was made with tables in the DB ? was it before version 3.0.0.0 or a lower version of 3

3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 3.0.3.8
The DB structure remains the same with all OC versions enounced above. However, OC 4 releases uses a different DB structure compared to previous releases.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gsc1ugs » Sun Oct 08, 2023 7:27 am

straightlight wrote:
Sun Oct 08, 2023 6:01 am

The DB structure remains the same with all OC versions enounced above.
Why do i get all these errors and a failure to
Import? Example is oc_event table, 3.0.3.8 adds another column and data

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by ADD Creative » Sun Oct 08, 2023 8:09 am

There will be numerous changes to the database across different versions. For example the sort_order was added to the exents table in 3.0.0.0. https://github.com/opencart/opencart/co ... 059c140d09

You can see the database changer at the following link.
https://github.com/opencart/opencart/co ... encart.sql

You could take the upload/install/opencart.sql files from two different versions and use a file comparison application to compare the differences.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by gsc1ugs » Sun Oct 08, 2023 3:18 pm

ADD Creative wrote:
Sun Oct 08, 2023 8:09 am
There will be numerous changes to the database across different versions. For example the sort_order was added to the exents table in 3.0.0.0. https://github.com/opencart/opencart/co ... 059c140d09

You can see the database changer at the following link.
https://github.com/opencart/opencart/co ... encart.sql

You could take the upload/install/opencart.sql files from two different versions and use a file comparison application to compare the differences.
Thanks for info that helps, would it be best to alter the version 2 opencart.sql to match structure of version 3 then run the sql? I could probably then get successful import of products, categories and customers

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by straightlight » Sun Oct 08, 2023 8:42 pm

gsc1ugs wrote:
Sun Oct 08, 2023 3:18 pm
ADD Creative wrote:
Sun Oct 08, 2023 8:09 am
There will be numerous changes to the database across different versions. For example the sort_order was added to the exents table in 3.0.0.0. https://github.com/opencart/opencart/co ... 059c140d09

You can see the database changer at the following link.
https://github.com/opencart/opencart/co ... encart.sql

You could take the upload/install/opencart.sql files from two different versions and use a file comparison application to compare the differences.
Thanks for info that helps, would it be best to alter the version 2 opencart.sql to match structure of version 3 then run the sql? I could probably then get successful import of products, categories and customers
Better to run a fresh install and integrate the data you need afterwards rather than running an upgrade between such releases since a lot of changes could of been involved since.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gsc1ugs » Sun Oct 08, 2023 10:05 pm

The export / import tools extension exports i altered and merged from version 2

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by gsc1ugs » Mon Oct 09, 2023 9:09 pm

paulfeakins wrote:
Mon Oct 09, 2023 6:11 pm
This classic extension is often handy: https://www.opencart.com/index.php?rout ... sion_id=17
Its what i used - solved - modifications to columns required

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm
Who is online

Users browsing this forum: Majestic-12 [Bot] and 39 guests