Форуми / Cotonti / Support / Can you skip upgrades?

Hakou
#1 12.11.2011 23:23

Can you skip upgrades from like 0.9.3 to 0.9.7? Because I'm having trouble finding just the updated files for 0.9.4. Thanks.

pieter
#2 12.11.2011 23:52

You may skip the upgrades, but not the sql-script.

In the latest version all scripts for the database are delivered with it.

... can we help you ...
Hakou
#3 13.11.2011 00:25

So what do I need to do about the sql-script?

esclkm
#4 13.11.2011 07:01

Overload files from 0.9.6+ and run install.php

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
GHengeveld
#5 15.11.2011 01:36

In the past, you had to run all the upgrades because it's required to run all the SQL scripts to get from the old version to the new. With Siena, all you need to do is replace the files with the new ones and visit yoursite.com/install.php. The installer will automatically determine the old database version and run all the scripts sequentially so the database is updated to the latest version. With install.php it doesn't matter if there's multiple versions in between yours and the latest.

When replacing files, take care not to remove your templates, datas and other custom stuff. If you just copy+paste+replace you'll be fine.