Files
newznab-tmux/resources/db/schema/mysql-data.sql
T
2016-08-25 15:23:59 +02:00

13 lines
441 B
SQL
Executable File

INSERT INTO user_roles (id, name, apirequests, downloadrequests, defaultinvites, isdefault, canpreview)
VALUES
(1, 'Guest', 0, 0, 0, 0, 0),
(2, 'User', 10, 10, 1, 1, 0),
(3, 'Admin', 1000, 1000, 1000, 0, 1),
(4, 'Disabled', 0, 0, 0, 0, 0),
(5, 'Moderator', 1000, 1000, 1000, 0, 1),
(6, 'Friend', 100, 100, 5, 0, 1);
UPDATE user_roles SET id = id - 1;
INSERT INTO categories (id, title, parentid) VALUES (0, 'Other', NULL);