trashbin/layout.sql

28 lines
711 B
MySQL
Raw Normal View History

2014-12-23 10:39:08 +00:00
CREATE TABLE `files` (
`id` int(10) NOT NULL auto_increment,
`pid` varchar(100) NOT NULL,
`timest` int(10) NOT NULL,
`expire` int(10) NOT NULL,
`file` varchar(250) NOT NULL,
`name` varchar(250) NOT NULL,
`size` int(10) NOT NULL,
`mime` varchar(100) NOT NULL,
`downloads` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
CREATE TABLE `pastebin` (
`id` int(10) NOT NULL auto_increment,
`pid` varchar(100) NOT NULL,
`timest` int(10) NOT NULL,
`expire` int(10) NOT NULL,
`downloads` int(11) NOT NULL,
`payload` text NOT NULL,
`syntax` varchar(20) NOT NULL,
`pub` int(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;