* Added database and UserManagerBase glue for FriendsList management

* Don't forget to run prebuild
This commit is contained in:
Teravus Ovares
2007-12-31 22:56:43 +00:00
parent e0cf45fe21
commit 3180432deb
9 changed files with 482 additions and 7 deletions

View File

@@ -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;