mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
rename SQLiteNG to SQLite and SQLite to SQLiteLegacy
this seems the least evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
This commit is contained in:
18
OpenSim/Data/SQLiteLegacy/Resources/001_AuthStore.sql
Normal file
18
OpenSim/Data/SQLiteLegacy/Resources/001_AuthStore.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
CREATE TABLE auth (
|
||||
UUID char(36) NOT NULL,
|
||||
passwordHash char(32) NOT NULL default '',
|
||||
passwordSalt char(32) NOT NULL default '',
|
||||
webLoginKey varchar(255) NOT NULL default '',
|
||||
accountType VARCHAR(32) NOT NULL DEFAULT 'UserAccount',
|
||||
PRIMARY KEY (`UUID`)
|
||||
);
|
||||
|
||||
CREATE TABLE tokens (
|
||||
UUID char(36) NOT NULL,
|
||||
token varchar(255) NOT NULL,
|
||||
validity datetime NOT NULL
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user