about summary refs log tree commit diff stats
path: root/central/trunk/instadisc.sql
diff options
context:
space:
mode:
Diffstat (limited to 'central/trunk/instadisc.sql')
-rw-r--r--central/trunk/instadisc.sql54
1 files changed, 23 insertions, 31 deletions
diff --git a/central/trunk/instadisc.sql b/central/trunk/instadisc.sql index 2019503..70e3c3b 100644 --- a/central/trunk/instadisc.sql +++ b/central/trunk/instadisc.sql
@@ -3,11 +3,11 @@
3-- http://www.phpmyadmin.net 3-- http://www.phpmyadmin.net
4-- 4--
5-- Host: localhost 5-- Host: localhost
6-- Generation Time: Aug 03, 2008 at 04:54 PM 6-- Generation Time: Sep 06, 2008 at 05:37 PM
7-- Server version: 5.0.51 7-- Server version: 5.0.51
8-- PHP Version: 5.2.4-2ubuntu5.3 8-- PHP Version: 5.2.4-2ubuntu5.3
9-- 9--
10-- Database: `instadisc` 10-- Database: `instadisc_central`
11-- 11--
12 12
13-- -------------------------------------------------------- 13-- --------------------------------------------------------
@@ -16,13 +16,14 @@
16-- Table structure for table `centralServers` 16-- Table structure for table `centralServers`
17-- 17--
18 18
19CREATE TABLE IF NOT EXISTS `centralServers` ( 19DROP TABLE IF EXISTS `centralServers`;
20CREATE TABLE `centralServers` (
20 `id` int(11) NOT NULL auto_increment, 21 `id` int(11) NOT NULL auto_increment,
21 `url` varchar(255) NOT NULL, 22 `url` varchar(255) NOT NULL,
22 `code` varchar(255) NOT NULL, 23 `code` varchar(255) NOT NULL,
23 `xmlrpc` varchar(255) NOT NULL, 24 `xmlrpc` varchar(255) NOT NULL,
24 PRIMARY KEY (`id`) 25 PRIMARY KEY (`id`)
25) ENGINE=MyISAM DEFAULT CHARSET=latin1; 26) ENGINE=MyISAM DEFAULT CHARSET=latin1;
26 27
27-- -------------------------------------------------------- 28-- --------------------------------------------------------
28 29
@@ -30,12 +31,13 @@ CREATE TABLE IF NOT EXISTS `centralServers` (
30-- Table structure for table `config` 31-- Table structure for table `config`
31-- 32--
32 33
33CREATE TABLE IF NOT EXISTS `config` ( 34DROP TABLE IF EXISTS `config`;
35CREATE TABLE `config` (
34 `id` int(11) NOT NULL auto_increment, 36 `id` int(11) NOT NULL auto_increment,
35 `name` varchar(255) NOT NULL, 37 `name` varchar(255) NOT NULL,
36 `value` varchar(255) NOT NULL, 38 `value` varchar(255) NOT NULL,
37 PRIMARY KEY (`id`) 39 PRIMARY KEY (`id`)
38) ENGINE=MyISAM DEFAULT CHARSET=latin1; 40) ENGINE=MyISAM DEFAULT CHARSET=latin1;
39 41
40-- -------------------------------------------------------- 42-- --------------------------------------------------------
41 43
@@ -43,7 +45,8 @@ CREATE TABLE IF NOT EXISTS `config` (
43-- Table structure for table `inbox` 45-- Table structure for table `inbox`
44-- 46--
45 47
46CREATE TABLE IF NOT EXISTS `inbox` ( 48DROP TABLE IF EXISTS `inbox`;
49CREATE TABLE `inbox` (
47 `id` int(11) NOT NULL auto_increment, 50 `id` int(11) NOT NULL auto_increment,
48 `username` varchar(255) NOT NULL, 51 `username` varchar(255) NOT NULL,
49 `itemID` int(11) NOT NULL, 52 `itemID` int(11) NOT NULL,
@@ -54,7 +57,7 @@ CREATE TABLE IF NOT EXISTS `inbox` (
54 `semantics` text NOT NULL, 57 `semantics` text NOT NULL,
55 `encryptionID` int(11) NOT NULL, 58 `encryptionID` int(11) NOT NULL,
56 PRIMARY KEY (`id`) 59 PRIMARY KEY (`id`)
57) ENGINE=MyISAM DEFAULT CHARSET=latin1; 60) ENGINE=MyISAM DEFAULT CHARSET=latin1;
58 61
59-- -------------------------------------------------------- 62-- --------------------------------------------------------
60 63
@@ -62,12 +65,13 @@ CREATE TABLE IF NOT EXISTS `inbox` (
62-- Table structure for table `oldVerID` 65-- Table structure for table `oldVerID`
63-- 66--
64 67
65CREATE TABLE IF NOT EXISTS `oldVerID` ( 68DROP TABLE IF EXISTS `oldVerID`;
69CREATE TABLE `oldVerID` (
66 `id` int(11) NOT NULL auto_increment, 70 `id` int(11) NOT NULL auto_increment,
67 `username` varchar(255) NOT NULL, 71 `username` varchar(255) NOT NULL,
68 `verID` int(11) NOT NULL, 72 `verID` int(11) NOT NULL,
69 PRIMARY KEY (`id`) 73 PRIMARY KEY (`id`)
70) ENGINE=MyISAM DEFAULT CHARSET=latin1; 74) ENGINE=MyISAM DEFAULT CHARSET=latin1;
71 75
72-- -------------------------------------------------------- 76-- --------------------------------------------------------
73 77
@@ -75,7 +79,8 @@ CREATE TABLE IF NOT EXISTS `oldVerID` (
75-- Table structure for table `pending` 79-- Table structure for table `pending`
76-- 80--
77 81
78CREATE TABLE IF NOT EXISTS `pending` ( 82DROP TABLE IF EXISTS `pending`;
83CREATE TABLE `pending` (
79 `id` int(11) NOT NULL auto_increment, 84 `id` int(11) NOT NULL auto_increment,
80 `username` varchar(255) NOT NULL, 85 `username` varchar(255) NOT NULL,
81 `password` varchar(255) NOT NULL, 86 `password` varchar(255) NOT NULL,
@@ -87,29 +92,15 @@ CREATE TABLE IF NOT EXISTS `pending` (
87-- -------------------------------------------------------- 92-- --------------------------------------------------------
88 93
89-- 94--
90-- Table structure for table `pending2`
91--
92
93CREATE TABLE IF NOT EXISTS `pending2` (
94 `id` int(11) NOT NULL auto_increment,
95 `username` varchar(255) NOT NULL,
96 `url` varchar(255) NOT NULL,
97 `code` varchar(255) NOT NULL,
98 PRIMARY KEY (`id`)
99) ENGINE=MyISAM DEFAULT CHARSET=latin1;
100
101-- --------------------------------------------------------
102
103--
104-- Table structure for table `subscriptions` 95-- Table structure for table `subscriptions`
105-- 96--
106 97
107CREATE TABLE IF NOT EXISTS `subscriptions` ( 98DROP TABLE IF EXISTS `subscriptions`;
108 `id` mediumint(11) NOT NULL auto_increment, 99CREATE TABLE `subscriptions` (
100 `id` int(11) NOT NULL auto_increment,
109 `username` varchar(255) NOT NULL, 101 `username` varchar(255) NOT NULL,
110 `url` varchar(255) NOT NULL, 102 `url` varchar(255) NOT NULL,
111 `owner` varchar(5) NOT NULL, 103 `identity` varchar(255) NOT NULL,
112 `category` varchar(255) NOT NULL,
113 PRIMARY KEY (`id`) 104 PRIMARY KEY (`id`)
114) ENGINE=MyISAM DEFAULT CHARSET=latin1; 105) ENGINE=MyISAM DEFAULT CHARSET=latin1;
115 106
@@ -119,7 +110,8 @@ CREATE TABLE IF NOT EXISTS `subscriptions` (
119-- Table structure for table `users` 110-- Table structure for table `users`
120-- 111--
121 112
122CREATE TABLE IF NOT EXISTS `users` ( 113DROP TABLE IF EXISTS `users`;
114CREATE TABLE `users` (
123 `id` int(11) NOT NULL auto_increment, 115 `id` int(11) NOT NULL auto_increment,
124 `username` varchar(255) NOT NULL, 116 `username` varchar(255) NOT NULL,
125 `password` varchar(255) NOT NULL, 117 `password` varchar(255) NOT NULL,
@@ -127,5 +119,5 @@ CREATE TABLE IF NOT EXISTS `users` (
127 `ip` varchar(255) NOT NULL, 119 `ip` varchar(255) NOT NULL,
128 `nextItemID` int(11) NOT NULL, 120 `nextItemID` int(11) NOT NULL,
129 PRIMARY KEY (`id`) 121 PRIMARY KEY (`id`)
130) ENGINE=MyISAM DEFAULT CHARSET=latin1; 122) ENGINE=MyISAM DEFAULT CHARSET=latin1;
131 123