mirror of https://github.com/status-im/fathom.git
Add options table.
This commit is contained in:
parent
68a7a0caa9
commit
68ab7985c8
|
@ -36,6 +36,14 @@ CREATE TABLE users (
|
||||||
`password` VARCHAR(255) NOT NULL
|
`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` (
|
CREATE TABLE `total_pageviews` (
|
||||||
`id` INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
`id` INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
||||||
`page_id` INTEGER UNSIGNED NOT NULL,
|
`page_id` INTEGER UNSIGNED NOT NULL,
|
||||||
|
|
Loading…
Reference in New Issue