Changing Database Fields

From SLIS Second Life Wiki

How to change the database Fire Centaur (Paul Preibisch November 2010)

Adding or modifying a field

  • Make sure you have latest code by updating using svn (tortoise etc)
  • Go the XML DB Editor, select the sloodle/db
  • Choose Load
  • Click 'edit' on the table you want to modify
  • add / modify the field of interest
  • click 'view php code'
  • copy php code to upgrade.php
  • upload your code, and test by visiting the notifications link in the admin area
  • Go back tp xml editor, click save on the sloodle/db to update the install.xml
  • click on the sloodle/db to view the install.xml in your browser (if you see a blank screen, right click to view source)
  • copy new xml file to your source file, and upload to server
Toolbox
LANGUAGES