diff options
author | David Walter Seikel | 2013-03-15 01:05:46 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-03-15 01:05:46 +1000 |
commit | 532787d4d1d0b59d9610f76276c2fd65fa039fb5 (patch) | |
tree | 86544df6f7785c21564ef22d8b3b2c9f1caef217 /sql/osprofile.sql | |
parent | Add backups directory. (diff) | |
download | opensim-SC-532787d4d1d0b59d9610f76276c2fd65fa039fb5.zip opensim-SC-532787d4d1d0b59d9610f76276c2fd65fa039fb5.tar.gz opensim-SC-532787d4d1d0b59d9610f76276c2fd65fa039fb5.tar.bz2 opensim-SC-532787d4d1d0b59d9610f76276c2fd65fa039fb5.tar.xz |
Add the SQL update scripts.
Diffstat (limited to 'sql/osprofile.sql')
-rw-r--r-- | sql/osprofile.sql | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/sql/osprofile.sql b/sql/osprofile.sql new file mode 100644 index 0000000..bcd5be0 --- /dev/null +++ b/sql/osprofile.sql | |||
@@ -0,0 +1,68 @@ | |||
1 | CREATE TABLE IF NOT EXISTS `classifieds` ( | ||
2 | `classifieduuid` char(36) NOT NULL, | ||
3 | `creatoruuid` char(36) NOT NULL, | ||
4 | `creationdate` int(20) NOT NULL, | ||
5 | `expirationdate` int(20) NOT NULL, | ||
6 | `category` varchar(20) NOT NULL, | ||
7 | `name` varchar(255) NOT NULL, | ||
8 | `description` text NOT NULL, | ||
9 | `parceluuid` char(36) NOT NULL, | ||
10 | `parentestate` int(11) NOT NULL, | ||
11 | `snapshotuuid` char(36) NOT NULL, | ||
12 | `simname` varchar(255) NOT NULL, | ||
13 | `posglobal` varchar(255) NOT NULL, | ||
14 | `parcelname` varchar(255) NOT NULL, | ||
15 | `classifiedflags` int(8) NOT NULL, | ||
16 | `priceforlisting` int(5) NOT NULL, | ||
17 | PRIMARY KEY (`classifieduuid`) | ||
18 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
19 | |||
20 | CREATE TABLE IF NOT EXISTS `usernotes` ( | ||
21 | `useruuid` varchar(36) NOT NULL, | ||
22 | `targetuuid` varchar(36) NOT NULL, | ||
23 | `notes` text NOT NULL, | ||
24 | UNIQUE KEY `useruuid` (`useruuid`,`targetuuid`) | ||
25 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
26 | |||
27 | CREATE TABLE IF NOT EXISTS `userpicks` ( | ||
28 | `pickuuid` varchar(36) NOT NULL, | ||
29 | `creatoruuid` varchar(36) NOT NULL, | ||
30 | `toppick` enum('true','false') NOT NULL, | ||
31 | `parceluuid` varchar(36) NOT NULL, | ||
32 | `name` varchar(255) NOT NULL, | ||
33 | `description` text NOT NULL, | ||
34 | `snapshotuuid` varchar(36) NOT NULL, | ||
35 | `user` varchar(255) NOT NULL, | ||
36 | `originalname` varchar(255) NOT NULL, | ||
37 | `simname` varchar(255) NOT NULL, | ||
38 | `posglobal` varchar(255) NOT NULL, | ||
39 | `sortorder` int(2) NOT NULL, | ||
40 | `enabled` enum('true','false') NOT NULL, | ||
41 | PRIMARY KEY (`pickuuid`) | ||
42 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
43 | |||
44 | CREATE TABLE IF NOT EXISTS `userprofile` ( | ||
45 | `useruuid` varchar(36) NOT NULL, | ||
46 | `profilePartner` varchar(36) NOT NULL, | ||
47 | `profileAllowPublish` binary(1) NOT NULL, | ||
48 | `profileMaturePublish` binary(1) NOT NULL, | ||
49 | `profileURL` varchar(255) NOT NULL, | ||
50 | `profileWantToMask` int(3) NOT NULL, | ||
51 | `profileWantToText` text NOT NULL, | ||
52 | `profileSkillsMask` int(3) NOT NULL, | ||
53 | `profileSkillsText` text NOT NULL, | ||
54 | `profileLanguages` text NOT NULL, | ||
55 | `profileImage` varchar(36) NOT NULL, | ||
56 | `profileAboutText` text NOT NULL, | ||
57 | `profileFirstImage` varchar(36) NOT NULL, | ||
58 | `profileFirstText` text NOT NULL, | ||
59 | PRIMARY KEY (`useruuid`) | ||
60 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
61 | |||
62 | CREATE TABLE IF NOT EXISTS `usersettings` ( | ||
63 | `useruuid` varchar(36) NOT NULL, | ||
64 | `imviaemail` enum('true','false') NOT NULL, | ||
65 | `visible` enum('true','false') NOT NULL, | ||
66 | `email` varchar(254) NOT NULL, | ||
67 | PRIMARY KEY (`useruuid`) | ||
68 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||