-- Reverses migration 0022. Drop tables in reverse dependency order. -- This will fail if any rows in audit_log or user_invites reference -- users that were deleted with ON DELETE SET NULL semantics; those -- references will already be NULL so the drops should succeed cleanly. DROP TABLE IF EXISTS audit_log; DROP TABLE IF EXISTS user_invites; DROP TABLE IF EXISTS registration_settings; ALTER TABLE users DROP COLUMN IF EXISTS display_name;