aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources/UpgradeLandTableToVersion2.sql
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-30 20:08:15 +0000
committerTeravus Ovares2008-04-30 20:08:15 +0000
commitb3f44fbb94287d58c635cad7d75e5223ef35aedf (patch)
tree246dac84c3d914907f028fdb93cf030bd13f9dc9 /OpenSim/Data/MySQL/Resources/UpgradeLandTableToVersion2.sql
parent* Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder() (diff)
downloadopensim-SC-b3f44fbb94287d58c635cad7d75e5223ef35aedf.zip
opensim-SC-b3f44fbb94287d58c635cad7d75e5223ef35aedf.tar.gz
opensim-SC-b3f44fbb94287d58c635cad7d75e5223ef35aedf.tar.bz2
opensim-SC-b3f44fbb94287d58c635cad7d75e5223ef35aedf.tar.xz
* Refactored the land table to be versionable in mySQL.
* Added AuthbuyerID so that if someone sets a land for sale to someone and then restarts the simulator, when the simulator comes back up, the setting persists.
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/UpgradeLandTableToVersion2.sql')
-rw-r--r--OpenSim/Data/MySQL/Resources/UpgradeLandTableToVersion2.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/UpgradeLandTableToVersion2.sql b/OpenSim/Data/MySQL/Resources/UpgradeLandTableToVersion2.sql
new file mode 100644
index 0000000..eb024be
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/UpgradeLandTableToVersion2.sql
@@ -0,0 +1,3 @@
1ALTER TABLE `land`
2 ADD COLUMN `AuthbuyerID` varchar(36) default '00000000-0000-0000-0000-000000000000' not null,
3COMMENT='Rev. 2'; \ No newline at end of file