ok, i love sql.... to a point...
my experience and tests. first off, when i get to here:
/index.php?main_page=database_upgrade
and it asks to confirm the steps to upgrade, should there a button to confirm? or does one just press enter? i have not looked to much further into what is on that page, as i am getting caught up into the db upgrade. but if there is supposed to be a button, then something is wrong on my browser, if there is no confirmation button, i think we should add one.
i have tried modifying this file:
zc_install/sql/updates/mysql_upgrade_zencart_156.sql
to include all of the db fixes above; i was not able to get it to work. however, if i manually ran everything prior to doing the upgrade it worked fine.
that said, do we need to look at standardizing all our datetimes? or is it bound to create more confusion? for example, in the code above:
Code:
UPDATE products
SET products_date_added = '0001-01-01 00:00:00'
WHERE products_date_added < '0001-01-01'
and products_date_added is not null;
UPDATE products
SET products_last_modified = NULL
WHERE products_last_modified < '0001-01-01'
and products_last_modified is not null;
this is caused by the structure:
products_date_added datetime [0001-01-01 00:00:00]
products_last_modified datetime NULL
products_date_available datetime NULL
not sure if the effort is worth it or not. or if there is a reason why the schema is different.
finally i LOVE the link that @design75 added. thank you. i have not played around with it yet. but i will! as i said above, i love sql... to a point...
best.