aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share/sql/mysql-users.sql
diff options
context:
space:
mode:
authorAdam Frisby2007-05-31 19:02:28 +0000
committerAdam Frisby2007-05-31 19:02:28 +0000
commit931adbcc43cc894d707f5671afa30c2f3edce7c5 (patch)
tree584796581d0c42f3960d0e2300d01dd070df5ffd /share/sql/mysql-users.sql
parent* Completed reading of inventory in Manager. (still needs to be hooked up via... (diff)
downloadopensim-SC-931adbcc43cc894d707f5671afa30c2f3edce7c5.zip
opensim-SC-931adbcc43cc894d707f5671afa30c2f3edce7c5.tar.gz
opensim-SC-931adbcc43cc894d707f5671afa30c2f3edce7c5.tar.bz2
opensim-SC-931adbcc43cc894d707f5671afa30c2f3edce7c5.tar.xz
* Added /trunk/share
* Imported SQL files to /share/sql * Added a PHP function file to generate new users in /share/php
Diffstat (limited to '')
-rw-r--r--share/sql/mysql-users.sql34
1 files changed, 34 insertions, 0 deletions
diff --git a/share/sql/mysql-users.sql b/share/sql/mysql-users.sql
new file mode 100644
index 0000000..5ce4d1c
--- /dev/null
+++ b/share/sql/mysql-users.sql
@@ -0,0 +1,34 @@
1SET FOREIGN_KEY_CHECKS=0;
2-- ----------------------------
3-- Table structure for users
4-- ----------------------------
5CREATE TABLE `users` (
6 `UUID` varchar(36) NOT NULL default '',
7 `username` varchar(32) NOT NULL,
8 `lastname` varchar(32) NOT NULL,
9 `passwordHash` varchar(32) NOT NULL,
10 `passwordSalt` varchar(32) NOT NULL,
11 `homeRegion` bigint(20) unsigned default NULL,
12 `homeLocationX` float default NULL,
13 `homeLocationY` float default NULL,
14 `homeLocationZ` float default NULL,
15 `homeLookAtX` float default NULL,
16 `homeLookAtY` float default NULL,
17 `homeLookAtZ` float default NULL,
18 `created` int(11) NOT NULL,
19 `lastLogin` int(11) NOT NULL,
20 `userInventoryURI` varchar(255) default NULL,
21 `userAssetURI` varchar(255) default NULL,
22 `profileCanDoMask` int(10) unsigned default NULL,
23 `profileWantDoMask` int(10) unsigned default NULL,
24 `profileAboutText` text,
25 `profileFirstText` text,
26 `profileImage` varchar(36) default NULL,
27 `profileFirstImage` varchar(36) default NULL,
28 PRIMARY KEY (`UUID`),
29 UNIQUE KEY `usernames` (`username`,`lastname`)
30) ENGINE=MyISAM DEFAULT CHARSET=utf8;
31
32-- ----------------------------
33-- Records
34-- ----------------------------