forked from openSUSE/paste
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysql.sql
73 lines (60 loc) · 2.38 KB
/
mysql.sql
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
-- phpMyAdmin SQL Dump
-- version 2.11.7-rc1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jul 05, 2008 at 10:49 PM
-- Server version: 5.0.51
-- PHP Version: 5.2.5
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `stikked`
--
-- --------------------------------------------------------
--
-- Table structure for table `ci_sessions`
--
CREATE TABLE IF NOT EXISTS `ci_sessions` (
`session_id` varchar(40) NOT NULL default '0',
`ip_address` varchar(16) NOT NULL default '0',
`user_agent` varchar(50) NOT NULL,
`last_activity` int(10) unsigned NOT NULL default '0',
`session_data` text NOT NULL,
PRIMARY KEY (`session_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `pastes`
--
CREATE TABLE IF NOT EXISTS `pastes` (
`id` int(10) NOT NULL auto_increment,
`pid` varchar(8) character set utf8 collate utf8_unicode_ci NOT NULL,
`ip` varchar(50) character set ascii default '0',
`login` varchar(160) character set ascii default '0',
`title` varchar(32) character set utf8 collate utf8_unicode_ci NOT NULL,
`name` varchar(32) character set utf8 collate utf8_unicode_ci NOT NULL,
`lang` varchar(32) character set utf8 collate utf8_unicode_ci NOT NULL,
`private` tinyint(1) NOT NULL,
`paste` longtext character set utf8 collate utf8_unicode_ci NOT NULL,
`raw` longtext character set utf8 collate utf8_unicode_ci NOT NULL,
`created` int(10) NOT NULL,
`expire` int(10) NOT NULL default '0',
`toexpire` tinyint(1) unsigned NOT NULL,
`replyto` varchar(8) character set utf8 collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=154 ;
CREATE TABLE IF NOT EXISTS `keys` (
`login` VARCHAR( 160 ) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL ,
`key` VARCHAR( 512 ) CHARACTER SET ascii COLLATE ascii_bin NOT NULL ,
`expire` int(10) NOT NULL DEFAULT '0' ,
`created` int(10) NOT NULL DEFAULT '0' ,
`title` varchar(160),
PRIMARY KEY ( `key` )
) ENGINE = MYISAM CHARACTER SET ascii COLLATE ascii_bin;
REATE TABLE IF NOT EXISTS `users` (
`login` text NOT NULL,
`adminlevel` tinyint(4) NOT NULL
) ENGINE = MYISAM CHARACTER SET ascii COLLATE ascii_bin;