gosora/schema/mysql/query_users_penalties.sql
Azareal d976a192fb Added the new theme, Shadow. It still isn't complete yet.
Revamped the configuration system.
If you have trouble installing this, try installing my fork of gopsutil with `go get` and delete the users_penalties table from the schema folder. That stuff will be cleaned up in the next commit.

Fixed an issue with the links for the Uncategorised forum being broken.
Swapped out NOW() for UTC_TIMESTAMP() in MySQL queries.
We now get an error message when the server goes down for whatever reason.
The template compiler now supports pointers.
Swapped out shirou/gopsutil for a fork locked on an older and more stable commit of the same library.
Fixed a bug where the preprocessor didn't play nice with empty CSS files.

Added the site name to the navbar.
Added more things to .gitignore
Laid the foundations for the next commit.
2017-07-17 11:23:42 +01:00

12 lines
361 B
SQL

CREATE TABLE `users_penalties` (
`uid` int not null,
`element_id` int not null,
`element_type` varchar(50) not null,
`overrides` text not null,
`mod_queue` boolean DEFAULT 0 not null,
`shadow_ban` boolean DEFAULT 0 not null,
`no_avatar` boolean DEFAULT 0 not null,
`issued_by` int not null,
`issued_at` datetime not null,
`expiry` duration not null
);