aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-05-23The 8th migration statement in AssetStore.migrations didn't look right.Diva Canto1-1/+1
2010-05-23MySQL Migrations: Minor correcton to Region/Estate splitAlexRa2-6/+12
(some Estate SQL left behind in the Region migration)
2010-05-23Split migrations for RegionStore and EstateStore (see WARNING!)AlexRa2-78/+69
ok, so the estate stores now want their own migration files, but as it happened the SQL definition were inside the Region migrations. It seems better/cleaner to keep each 'store' separately updatable. WARNING: any editing in the middle of the migration scripts (as opposite to just appending to them) has the potential of messing up updates of existing databases. As far as I can see, this one is (probably) safe, the worst that could happen is the EstateStore migration silently fail if the estate the tables are already there.
2010-05-20Cleaned up MySql migrations a bit more, got rid of all old-form migration ↵Diva Canto5-32/+8
files. Restored Presence table to its taboo-breaking form.
2010-05-19MySQL: added CreatorID, moved asset_flag to migration scriptAlexRa1-0/+8
2010-05-18Converted MySQL migration history to the new formatAlexRa78-1002/+1228
Replaced all NNN_StoreName.sql migration resources with a more readable, single-file-per-store
2010-05-16Converted MySQL migration history to the new formatAlexRa78-1002/+1228
Replaced all NNN_StoreName.sql migration resources with a more readable, single-file-per-store
2010-05-09* Fixed spamming the assets table with map tiles. The tile image ID is now ↵Diva Canto1-0/+3
stored in regionsettings. Upon generation of a new tile image, the old one is deleted. Tested for SQLite and MySql standalone. * Fixed small bug with map search where the local sim regions weren't found.
2010-05-09Add a field asset_flags and a corresponding enum to the asset database. ThisMelanie1-0/+5
CHANGES THE ASSET SERVER PROTOCOL and means you CAN NOT MIX PRIOR VERSIONS WITH LATER ONES. It may also eat your babies, yada, yada, yada. The usual cautions for migrations to the assets table apply. Coding: Can not guarantee nut free.
2010-05-07These files are part of the GridUserService write-up.Diva Canto1-0/+17
2010-05-07GridUserService in place. Replaces the contrived concept of storing user's ↵Diva Canto3-19/+4
home and position info in the presence service. WARNING: I violated a taboo by deleting 2 migration files and simplifying the original table creation for Presence. This should not cause any problems to anyone, though. Things will work with the new simplified table, as well as with the previous contrived one. If there are any problems, solving them is as easy as dropping the presence table and deleting its row in the migrations table. The presence info only exists during a user's session anyway. BTW, the Meshing files want to be committed too -- EOFs.
2010-03-22Somehow the starting estate number in MySQL was lost. This adds a migrationMelanie1-0/+3
to start estates at 100. Existing databases having autcreated estates below 100 will see a gap in estate numbering. Other database implementors need to ensure that no estates with numbers less that 100 are autocreated, unless they are prepared to deal with the viewer's built-in notions of Linden Mainland
2010-02-05Implement the friends data adaptorMelanie2-0/+10
2010-01-16Fixed a missing field in the last regions table migration.Diva Canto1-0/+1
2010-01-15Add a handful of new region flags and a small migrationMelanie1-0/+6
2010-01-10Add last_seen field to regions tableMelanie1-0/+5
2010-01-09Preliminary work on the new default region setting mechanismMelanie1-0/+6
2010-01-08Add migrations to add fields to user and auth tablesMelanie2-0/+13
2010-01-04AvatarStore. Untested, but completeMelanie1-0/+5
2010-01-01Auth data migration.Diva Canto1-0/+5
2009-12-29Fixed a couple of bugs that were bombing the data migration.Diva Canto2-2/+2
2009-12-29Give the new user tables the once-over. Strip the current set of methodsMelanie3-2/+16
from IUserAccountService, we need to define what goes in there. Change the handler to the generic handler. Adjust migrations, add index
2009-12-29* Added useraccount tableDiva Canto1-0/+13
2009-12-28Add the indices to really make this table workMelanie1-0/+6
2009-12-28Add a migration to add the 3 new fieldsMelanie1-0/+7
2009-12-28Add the second step of the friends migration to pull data from the old table ↵Melanie1-0/+5
into the new
2009-12-28Add the migration for friends and guard the presence Report functionMelanie1-0/+9
2009-12-28Forgot the migration fileMelanie1-0/+15
2009-09-27Add the Migration for the regions tableMelanie1-0/+6
2009-09-16Add the migration for scoping grid dataMelanie1-0/+7
2009-09-06Revising the user account data interfaces. No user functionality yetMelanie1-0/+5
2009-09-04Add the new AuthStore to migrations. Update OpenSim.Server.iniMelanie1-0/+21
2009-06-29From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-0/+7
Attached is a patch that changes the oar file saving of creation date/time to an integer instead of a string. I did this after justincc emailed me saying there is a problem with internationalisation doing it the old way and I said I'd fix it. Its been tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-0/+7
This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.
2009-05-27From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-0/+5
The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
2009-05-17Update svn properties.Jeff Ames1-5/+5
2009-05-12Thank you kindly, Patnad, for a patch that:Charles Krinke1-0/+5
This is to handle the changes in the v1.23 viewer of LL regarding the adult rating. With this patch a region can be changed to the adult rating from LL viewer v1.23 and above.
2009-05-08WARNING: contains migrationSean Dague1-0/+7
Since creatorID is no longer treated as a UUID type in the code from the database we need to make sure that it isn't null in the database. This updates all empty string and null values for this column to the Zero UUID, and makes the column a not null definition with a default fo the Zero UUID.
2009-05-07* Consistently used dashed uuid format for mysql region data, as is done for ↵Justin Clarke Casey1-0/+79
all other tables * This revision contains a mysql data migration. Please backup your mysql region database as a precaution before using this code. * I also advise that you do a runprebuild[.sh|.bat] and a clean build ("nant clean build" if you're using the command line). * This change is needed for future id schemes
2009-04-05Adding migrations for MySQL and SQLite for removing the "old" cloud image.Homer Horwitz1-0/+1
The new one already in the Library will be reinserted automatically. Fixes Mantis #964
2009-02-17remove all the very old create and upgrade sql files, these wereSean Dague17-288/+0
outdated by migrations 6 months ago.
2009-02-16AssetInventoryServer plugins can't be a dependency for the ↵Mike Mazur1-1/+0
OpenSim.Data.MySQL addin.
2009-02-16Rename NewAssetServer AssetInventoryServer and fully qualify withMike Mazur1-1/+1
OpenSim.Grid.AssetInventoryServer.
2009-02-16- add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for ↵Mike Mazur1-0/+1
OpenSim.Data.*.addin.xml - remove OpenSim.Grid.NewAssetServer.exe from bin/OpenSim.Data.addin.xml - add prebuild.xml section for OpenSim.Grid.AssetServer.Plugins.OpenSim.dll
2009-01-19* Remove unused prims.ParentID field from SQLite and MySQLJustin Clarke Casey1-0/+5
* Since this is a db change, as always I strongly recommend that you backup your database before updating to this revision * Haven't touched MSSQL in case I get it wrong - looking for some kind soul to take care of this.
2008-11-26Yay for unit tests. Increased the type width of the prims and primshapesMelanie Thielker1-37/+41
tables, and changed the database modules to actually push these doubles down into the database layer.
2008-11-26A migration to make the floats in prims table be doublesMelanie Thielker1-0/+41
2008-11-26A migration to convert the floats int the database to doubles.Melanie Thielker2-0/+60
Maybe we don't have to say "Shift happens" as often anymore....
2008-11-26Committing the LCO database layer. Native MySQL, no ADO. New reconnectMelanie Thielker1-0/+6
mechanism to prevent prim loss. Preserve link order on sim restart and drag copy. Fix drag-copied prims' inventories. Fix persistence of child prim inventories.
2008-11-21Update svn properties, minor formatting cleanup.Jeff Ames1-6/+6