223 lines
3.3 KiB
SQL
223 lines
3.3 KiB
SQL
alter table drive_folder
|
|
drop constraint "FK_f4fc06e49c0171c85f1c48060d2";
|
|
|
|
alter table drive_file
|
|
drop constraint "FK_860fa6f6c7df5bb887249fba22e";
|
|
|
|
drop table poll_vote;
|
|
|
|
drop table note_reaction;
|
|
|
|
drop table note_watching;
|
|
|
|
drop table note_unread;
|
|
|
|
drop table notification;
|
|
|
|
drop type notification_type_enum;
|
|
|
|
drop table access_token;
|
|
|
|
drop table meta;
|
|
|
|
drop type meta_sensitivemediadetection_enum;
|
|
|
|
drop type meta_sensitivemediadetectionsensitivity_enum;
|
|
|
|
drop table following;
|
|
|
|
drop table instance;
|
|
|
|
drop table muting;
|
|
|
|
drop table sw_subscription;
|
|
|
|
drop table blocking;
|
|
|
|
drop table user_list_joining;
|
|
|
|
drop table hashtag;
|
|
|
|
drop table note_favorite;
|
|
|
|
drop table abuse_user_report;
|
|
|
|
drop table registration_ticket;
|
|
|
|
drop table messaging_message;
|
|
|
|
drop table signin;
|
|
|
|
drop table auth_session;
|
|
|
|
drop table app;
|
|
|
|
drop table follow_request;
|
|
|
|
drop table emoji;
|
|
|
|
drop table user_note_pining;
|
|
|
|
drop table poll;
|
|
|
|
drop type poll_notevisibility_enum;
|
|
|
|
drop table user_keypair;
|
|
|
|
drop table user_publickey;
|
|
|
|
drop table user_profile;
|
|
|
|
drop type user_profile_ffvisibility_enum;
|
|
|
|
drop table __chart__active_users;
|
|
|
|
drop table __chart__drive;
|
|
|
|
drop table __chart__federation;
|
|
|
|
drop table __chart__hashtag;
|
|
|
|
drop table __chart__instance;
|
|
|
|
drop table __chart__network;
|
|
|
|
drop table __chart__notes;
|
|
|
|
drop table __chart__per_user_drive;
|
|
|
|
drop table __chart__per_user_following;
|
|
|
|
drop table __chart__per_user_notes;
|
|
|
|
drop table __chart__per_user_reaction;
|
|
|
|
drop table __chart__test_grouped;
|
|
|
|
drop table __chart__test_unique;
|
|
|
|
drop table __chart__test;
|
|
|
|
drop table __chart__users;
|
|
|
|
drop table page_like;
|
|
|
|
drop table page;
|
|
|
|
drop type page_visibility_enum;
|
|
|
|
drop table user_group_invite;
|
|
|
|
drop table attestation_challenge;
|
|
|
|
drop table user_security_key;
|
|
|
|
drop table moderation_log;
|
|
|
|
drop table used_username;
|
|
|
|
drop table announcement_read;
|
|
|
|
drop table announcement;
|
|
|
|
drop table clip_note;
|
|
|
|
drop table clip;
|
|
|
|
drop table antenna_note;
|
|
|
|
drop table antenna;
|
|
|
|
drop type antenna_src_enum;
|
|
|
|
drop table user_list;
|
|
|
|
drop table user_group_joining;
|
|
|
|
drop table user_group_invitation;
|
|
|
|
drop table user_group;
|
|
|
|
drop table promo_note;
|
|
|
|
drop table promo_read;
|
|
|
|
drop table relay;
|
|
|
|
drop type relay_status_enum;
|
|
|
|
drop table muted_note;
|
|
|
|
drop type muted_note_reason_enum;
|
|
|
|
drop table channel_following;
|
|
|
|
drop table channel_note_pining;
|
|
|
|
drop table registry_item;
|
|
|
|
drop table gallery_like;
|
|
|
|
drop table gallery_post;
|
|
|
|
drop table password_reset_request;
|
|
|
|
drop table ad;
|
|
|
|
drop table user_pending;
|
|
|
|
drop table note_thread_muting;
|
|
|
|
drop table __chart_day__federation;
|
|
|
|
drop table __chart_day__notes;
|
|
|
|
drop table __chart_day__users;
|
|
|
|
drop table __chart_day__network;
|
|
|
|
drop table __chart_day__active_users;
|
|
|
|
drop table __chart_day__instance;
|
|
|
|
drop table __chart_day__per_user_notes;
|
|
|
|
drop table __chart_day__drive;
|
|
|
|
drop table __chart_day__per_user_reaction;
|
|
|
|
drop table __chart_day__hashtag;
|
|
|
|
drop table __chart_day__per_user_following;
|
|
|
|
drop table __chart_day__per_user_drive;
|
|
|
|
drop table __chart__ap_request;
|
|
|
|
drop table __chart_day__ap_request;
|
|
|
|
drop table webhook;
|
|
|
|
drop table user_ip;
|
|
|
|
drop table renote_muting;
|
|
|
|
drop table note_edit;
|
|
|
|
drop table note;
|
|
|
|
drop type note_visibility_enum;
|
|
|
|
drop table channel;
|
|
|
|
drop table "user";
|
|
|
|
drop table drive_file;
|
|
|
|
drop table drive_folder;
|
|
|
|
drop function note_replies(varchar, integer, integer);
|
|
|
|
drop type log_level_enum;
|
|
|
|
drop type user_profile_mutingnotificationtypes_enum; |