diff options
author | Teravus Ovares | 2007-12-31 22:56:43 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-31 22:56:43 +0000 |
commit | 3180432debcd9078e8e838d4bbe3ddaf9cdfe110 (patch) | |
tree | b838c1b5b6f3bb7b2baf5c013b1e74a44caa909f /OpenSim/Framework/Data.MySQL/Resources | |
parent | Move unused inventory files into the attic (diff) | |
download | opensim-SC_OLD-3180432debcd9078e8e838d4bbe3ddaf9cdfe110.zip opensim-SC_OLD-3180432debcd9078e8e838d4bbe3ddaf9cdfe110.tar.gz opensim-SC_OLD-3180432debcd9078e8e838d4bbe3ddaf9cdfe110.tar.bz2 opensim-SC_OLD-3180432debcd9078e8e838d4bbe3ddaf9cdfe110.tar.xz |
* Added database and UserManagerBase glue for FriendsList management
* Don't forget to run prebuild
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/Resources')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/Resources/CreateUserFriendsTable.sql | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.MySQL/Resources/CreateUserFriendsTable.sql b/OpenSim/Framework/Data.MySQL/Resources/CreateUserFriendsTable.sql new file mode 100644 index 0000000..157fe4b --- /dev/null +++ b/OpenSim/Framework/Data.MySQL/Resources/CreateUserFriendsTable.sql | |||
@@ -0,0 +1,11 @@ | |||
1 | SET FOREIGN_KEY_CHECKS=0; | ||
2 | -- ---------------------------- | ||
3 | -- Table structure for users | ||
4 | -- ---------------------------- | ||
5 | CREATE TABLE `userfriends` ( | ||
6 | `ownerID` VARCHAR(37) NOT NULL, | ||
7 | `friendID` VARCHAR(47) NOT NULL, | ||
8 | `friendPerms` INT NOT NULL, | ||
9 | `datetimestamp` INT NOT NULL, | ||
10 | UNIQUE KEY (`ownerID`, `friendID`) | ||
11 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rev.1'; \ No newline at end of file | ||