18 lines
489 B
SQL
18 lines
489 B
SQL
SET foreign_key_checks = 0;
|
|
|
|
-- Drop all old tables
|
|
DROP TABLE IF EXISTS users_old;
|
|
DROP TABLE IF EXISTS messages;
|
|
DROP TABLE IF EXISTS embeds;
|
|
DROP TABLE IF EXISTS embed_fields;
|
|
DROP TABLE IF EXISTS command_aliases;
|
|
DROP TABLE IF EXISTS macro;
|
|
DROP TABLE IF EXISTS roles;
|
|
DROP TABLE IF EXISTS command_restrictions;
|
|
|
|
-- Drop columns from channels that are no longer used
|
|
ALTER TABLE channels DROP COLUMN `name`;
|
|
ALTER TABLE channels DROP COLUMN `blacklisted`;
|
|
|
|
SET foreign_key_checks = 1;
|