Add options table.

This commit is contained in:
Danny van Kooten 2016-12-24 15:12:17 +02:00
parent 68a7a0caa9
commit 68ab7985c8
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,14 @@ CREATE TABLE users (
`password` VARCHAR(255) NOT NULL
);
CREATE TABLE options (
`id` INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
`name` VARCHAR(255) NOT NULL,
`value` VARCHAR(255) DEFAULT ''
);
CREATE INDEX options_name ON options(`name`);
CREATE TABLE `total_pageviews` (
`id` INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
`page_id` INTEGER UNSIGNED NOT NULL,