825fffe502
It's quite big rewrite and indivdual commits are not available since its so big. Introducing features like, - Support for multiple database backends and configurations like dbname/tablename/ports/adresses/etc. - Support for dynamically adding languages and lexers from pygments, autodetection of language is also supported. - Support for changing styles (and languages) on the fly, also row-highlightning and rownumbers. - Support for showing information about when paste expires. - Support for goo.gl-shortener. - Extreme debugging =) - Probably added a few bugs in there as well =)
10 lines
216 B
SQL
10 lines
216 B
SQL
CREATE TABLE `pastebin` (
|
|
`id` varchar(30) NOT NULL,
|
|
`title` varchar(50) default NULL,
|
|
`hash` char(40) default NULL,
|
|
`data` longtext,
|
|
`delkey` char(40) default NULL,
|
|
`expiry` int,
|
|
PRIMARY KEY (`id`)
|
|
);
|