18 lines
731 B
SQL
18 lines
731 B
SQL
DROP MATERIALIZED VIEW IF EXISTS reaction_by_id;
|
|
DROP MATERIALIZED VIEW IF EXISTS reaction_by_user_id;
|
|
DROP INDEX IF EXISTS reaction_by_id;
|
|
DROP TABLE IF EXISTS reaction;
|
|
DROP INDEX IF EXISTS home_by_id;
|
|
DROP TABLE IF EXISTS home_timeline;
|
|
DROP MATERIALIZED VIEW IF EXISTS local_timeline;
|
|
DROP MATERIALIZED VIEW IF EXISTS global_timeline;
|
|
DROP MATERIALIZED VIEW IF EXISTS note_by_renote_id_and_user_id;
|
|
DROP MATERIALIZED VIEW IF EXISTS note_by_renote_id;
|
|
DROP MATERIALIZED VIEW IF EXISTS note_by_user_id;
|
|
DROP INDEX IF EXISTS note_by_id;
|
|
DROP INDEX IF EXISTS note_by_uri;
|
|
DROP INDEX IF EXISTS note_by_url;
|
|
DROP TABLE IF EXISTS note;
|
|
DROP TYPE IF EXISTS emoji;
|
|
DROP TYPE IF EXISTS note_edit_history;
|
|
DROP TYPE IF EXISTS drive_file;
|