diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-02 18:30:13 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-02 18:30:13 +1100 |
| commit | f753b709ff6bec8bdce71993426ba60045a87215 (patch) | |
| tree | 265d2f9b5c25f3b3289be591161d901a1f0ecdee /install.sql | |
| parent | bbb791039821637c045b2378383b0eb167063a27 (diff) | |
SQL dump
Diffstat (limited to 'install.sql')
| -rw-r--r-- | install.sql | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/install.sql b/install.sql index c517bdfc..1fc1ad76 100644 --- a/install.sql +++ b/install.sql @@ -77,3 +77,24 @@ CREATE TABLE IF NOT EXISTS `posts` ( -- Dumping data for table `posts` -- +-- -------------------------------------------------------- + +-- +-- Table structure for table `mods` +-- + +CREATE TABLE IF NOT EXISTS `mods` ( + `id` smallint(6) NOT NULL AUTO_INCREMENT, + `username` varchar(30) NOT NULL, + `password` char(40) NOT NULL COMMENT 'SHA1', + `type` smallint(1) NOT NULL COMMENT '0: janitor, 1: mod, 2: admin', + PRIMARY KEY (`id`), + UNIQUE KEY `id` (`id`,`username`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; + +-- +-- Dumping data for table `mods` +-- + +INSERT INTO `mods` (`id`, `username`, `password`, `type`) VALUES +(1, 'admin', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 2); |
