forked from zigdon/ROBOT9000
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathROBOT9000.sql
More file actions
47 lines (40 loc) · 1.26 KB
/
Copy pathROBOT9000.sql
File metadata and controls
47 lines (40 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-- phpMyAdmin SQL Dump
-- version 2.11.6
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 22, 2009 at 06:08 PM
-- Server version: 5.0.51
-- PHP Version: 5.2.6-3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `xkcd`
--
-- --------------------------------------------------------
--
-- Table structure for table `lines`
--
CREATE TABLE IF NOT EXISTS `lines` (
`id` int(10) unsigned NOT NULL auto_increment,
`msg` text NOT NULL,
PRIMARY KEY (`id`),
KEY `msg` (`msg`(32))
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(10) unsigned NOT NULL auto_increment,
`mask` varchar(255) default NULL,
`nick` varchar(64) NOT NULL default '',
`timeout_power` int(10) unsigned NOT NULL default '0',
`banned_until` int(10) unsigned NOT NULL default '0',
`ban_type` char(1) NOT NULL default 'v',
`lines_talked` int(10) unsigned NOT NULL default '0',
`total_bans` int(10) unsigned NOT NULL default '0',
`word_count` int(10) unsigned NOT NULL default '0',
`last_talk` timestamp NOT NULL default CURRENT_TIMESTAMP,
`user_status` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `mask` (`mask`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;