1
dheltzel
Where is the code to update the database structure during a module update?
  • 2004/6/23 17:08

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I'm trying to update the phpBB to newBB conversion script to work with newBB 2 (beta), I can see the old and new SQL creation code in the sql directory, but the SQL to update from ver 1 to ver 2 would be the easiest to use to make the changes. Unfortunately, I can't figure out where the update SQL is kept, or even which php program runs the update.

Can anyone enlighten me?

Dennis

2
Mithrandir
Re: Where is the code to update the database structure during a module update?

You'll need an onUpdate function similar to the module onInstall and onUninstall functions.

This will not be possible until the next XOOPS version, sorry.

Login

Who's Online

345 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 345


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits