| 1 | LOCK TABLES forums WRITE, group_permissions WRITE, groups WRITE, user_groups WRITE, users WRITE; |
|---|
| 2 | |
|---|
| 3 | INSERT INTO forums (id, name, last_post_id, thread_count, post_count, flags, accessibility, description) |
|---|
| 4 | VALUES (1, 'News', NULL, 0, 0, '', 'normal', 'News and updates show up here.'); |
|---|
| 5 | |
|---|
| 6 | INSERT INTO group_permissions (group_id, permission, scope, polarity) |
|---|
| 7 | VALUES (1, 'splat', '', 'allow'); |
|---|
| 8 | |
|---|
| 9 | INSERT INTO groups (id, icon, name) |
|---|
| 10 | VALUES (1, '', 'Administrators'), |
|---|
| 11 | (2, '', 'Users'); |
|---|
| 12 | |
|---|
| 13 | INSERT INTO user_groups (user_id, group_id, priority) |
|---|
| 14 | VALUES (0, 2, 1), |
|---|
| 15 | (1, 1, 1); |
|---|
| 16 | |
|---|
| 17 | INSERT INTO users (id, name, password, time_joined, signature, thread_view_cutoff) |
|---|
| 18 | VALUES (1, 'admin', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', UNIX_TIMESTAMP(), 'Default signature', UNIX_TIMESTAMP()); |
|---|
| 19 | |
|---|
| 20 | UNLOCK TABLES; |
|---|