Subscribe

Plugin into database upgrade system

  1. 2010-12-24 21:28:50 PST
    What's the best way to plugin into the database upgrade part of marauroa? (So my custom tables can be added/updated as part of the same process)
  2. 2010-12-25 02:10:11 PST
    In server.ini, define a class for database_implementation with an initialize() method. That's the place where Stendhal does it's database update and defines its DAOs: http://arianne.cvs.sf.net/viewvc/arianne/stendhal/src/games/stendhal/server/core/engine/StendhalPlayerDatabase.java?view=markup
  3. 2010-12-25 07:57:33 PST
    I already do that part. I refer to the update scripts to the database. I was expecting to see a database_factory parameter in the ini file so you can use the upgrade system for your custom tables? Enhancement request?
  4. 2010-12-25 09:35:40 PST
    Did you look at the link I included?
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.