mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
d0b9cbdcac
This version introduces support for a blacklist DB and other changes as to work when the Moe Panel is released. You NEED to use the new DB schema for this version to work! Also fixes wrong name for layout_index.swig
26 lines
751 B
SQL
26 lines
751 B
SQL
PRAGMA synchronous = OFF;
|
|
PRAGMA journal_mode = MEMORY;
|
|
BEGIN TRANSACTION;
|
|
CREATE TABLE `files` (
|
|
`id` integer NOT NULL PRIMARY KEY AUTOINCREMENT
|
|
, `hash` char(40) default NULL
|
|
, `originalname` varchar(255) default NULL
|
|
, `filename` varchar(30) default NULL
|
|
, `size` integer default NULL
|
|
, `date` integer default NULL
|
|
, `ip` char(15) default NULL
|
|
);
|
|
CREATE TABLE `accounts` (
|
|
`id` integer NOT NULL PRIMARY KEY AUTOINCREMENT
|
|
, `email` varchar(255) default NULL
|
|
, `pass` varchar(255) default NULL
|
|
, `level` integer default NULL
|
|
);
|
|
CREATE TABLE `blacklist` (
|
|
`id` integer NOT NULL PRIMARY KEY AUTOINCREMENT
|
|
, `hash` char(40) default NULL
|
|
, `originalname` varchar(255) default NULL
|
|
, `time` integer default NULL
|
|
);
|
|
END TRANSACTION;
|