We need two thing:
a) updateDB function that get a table structure as SQL literal and:
- create the table if not exist
- update the table: add new field, update index, change field length..but never 
delete a field.

b) store necessary sql for each revision.
$updateDB_by_revision = array(
941 =>"UPDATE aiki_widgets SET widget=REPLACE( REPLACE(widget,"<php 
","(script("),"php>",")script)"),
...);
Aiki must search in this array all 'pending' upgrades.

The upgrade process must:
- upgrade src files (very easy to do if we have lives files)
- upgradeDB (changind structure)
- upgrade db by revision.

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/692504

Title:
  updating aiki website doesn't update aiki features in database

Status in Aiki Framework:
  In Progress
Status in aikiframework trunk series:
  In Progress

Bug description:
  I just upgraded sharism.org from an older version to the latest 0.7.2
  software and I don't see any new features or changes. Thus, I must
  consider, either I don't know how to upgrade or the database is not
  being updated.

  How does this work, or is it broken?

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/692504/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : aikiframework.admins@lists.launchpad.net
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to