diff options
author | Justin Clark-Casey (justincc) | 2010-04-23 17:17:15 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-04-23 17:17:15 +0100 |
commit | a23bebdc0f106c19de09e54d88eebc6b086fdaab (patch) | |
tree | 5a0141201ae27b796608f0af77f4d9a1e1cd1d19 /OpenSim/Data/SQLiteNG/Resources/002_UserAccount.sql | |
parent | minor: change a comment and replace some magic numbers with the AssetType enum (diff) | |
download | opensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.zip opensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.tar.gz opensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.tar.bz2 opensim-SC_OLD-a23bebdc0f106c19de09e54d88eebc6b086fdaab.tar.xz |
Duplicate OpenSim.Data.SQLite into OpenSim.Data.SQLiteNG. SQLiteNG will shortly be changed to work under mono 2.6 and above
Diffstat (limited to 'OpenSim/Data/SQLiteNG/Resources/002_UserAccount.sql')
-rw-r--r-- | OpenSim/Data/SQLiteNG/Resources/002_UserAccount.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLiteNG/Resources/002_UserAccount.sql b/OpenSim/Data/SQLiteNG/Resources/002_UserAccount.sql new file mode 100644 index 0000000..c7a6293 --- /dev/null +++ b/OpenSim/Data/SQLiteNG/Resources/002_UserAccount.sql | |||
@@ -0,0 +1,5 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | INSERT INTO UserAccounts (PrincipalID, ScopeID, FirstName, LastName, Email, ServiceURLs, Created) SELECT `UUID` AS PrincipalID, '00000000-0000-0000-0000-000000000000' AS ScopeID, username AS FirstName, surname AS LastName, '' as Email, '' AS ServiceURLs, created as Created FROM users; | ||
4 | |||
5 | COMMIT; | ||