mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Added database and UserManagerBase glue for FriendsList management
* Don't forget to run prebuild
This commit is contained in:
@@ -135,9 +135,12 @@ namespace OpenSim.Framework.Data.SQLite
|
||||
subsql += ",\n";
|
||||
}
|
||||
subsql += col.ColumnName + " " + sqliteType(col.DataType);
|
||||
if (col == dt.PrimaryKey[0])
|
||||
if (dt.PrimaryKey.Length > 0)
|
||||
{
|
||||
subsql += " primary key";
|
||||
if (col == dt.PrimaryKey[0])
|
||||
{
|
||||
subsql += " primary key";
|
||||
}
|
||||
}
|
||||
}
|
||||
sql += subsql;
|
||||
|
||||
Reference in New Issue
Block a user