From 04969e7ec0e3c70203e898b9896d703111b88fad Mon Sep 17 00:00:00 2001 From: Dominik9906 Date: Sat, 29 Aug 2026 00:27:27 +0200 Subject: [PATCH] ADD - provide phone database uninstall script --- sky_phone/sql/uninstall.sql | 145 ++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 sky_phone/sql/uninstall.sql diff --git a/sky_phone/sql/uninstall.sql b/sky_phone/sql/uninstall.sql new file mode 100644 index 0000000..d77dd86 --- /dev/null +++ b/sky_phone/sql/uninstall.sql @@ -0,0 +1,145 @@ +-- sky_phone destructive uninstall script +-- +-- WARNING: Running this file permanently deletes all sky_phone data from the +-- currently selected database. Stop the sky_phone resource and create a backup +-- before executing it. This script does not remove tables owned by other resources. + +SET @sky_phone_previous_foreign_key_checks = @@FOREIGN_KEY_CHECKS; +SET FOREIGN_KEY_CHECKS = 0; + +DROP TABLE IF EXISTS `sky_phone_accounts`; +DROP TABLE IF EXISTS `sky_phone_admin_audit`; +DROP TABLE IF EXISTS `sky_phone_bank_transactions`; +DROP TABLE IF EXISTS `sky_phone_billing_accounts`; +DROP TABLE IF EXISTS `sky_phone_billing_events`; +DROP TABLE IF EXISTS `sky_phone_billing_invoices`; +DROP TABLE IF EXISTS `sky_phone_billing_payments`; +DROP TABLE IF EXISTS `sky_phone_calendar_events`; +DROP TABLE IF EXISTS `sky_phone_call_blocks`; +DROP TABLE IF EXISTS `sky_phone_call_entries`; +DROP TABLE IF EXISTS `sky_phone_calls`; +DROP TABLE IF EXISTS `sky_phone_character_devices`; +DROP TABLE IF EXISTS `sky_phone_citywarn_alerts`; +DROP TABLE IF EXISTS `sky_phone_citywarn_updates`; +DROP TABLE IF EXISTS `sky_phone_company_announcements`; +DROP TABLE IF EXISTS `sky_phone_company_audit`; +DROP TABLE IF EXISTS `sky_phone_company_hours`; +DROP TABLE IF EXISTS `sky_phone_company_profiles`; +DROP TABLE IF EXISTS `sky_phone_company_request_events`; +DROP TABLE IF EXISTS `sky_phone_company_request_media`; +DROP TABLE IF EXISTS `sky_phone_company_request_messages`; +DROP TABLE IF EXISTS `sky_phone_company_request_reads`; +DROP TABLE IF EXISTS `sky_phone_company_requests`; +DROP TABLE IF EXISTS `sky_phone_company_services`; +DROP TABLE IF EXISTS `sky_phone_configurator`; +DROP TABLE IF EXISTS `sky_phone_contacts`; +DROP TABLE IF EXISTS `sky_phone_crewlink_credentials`; +DROP TABLE IF EXISTS `sky_phone_crewlink_groups`; +DROP TABLE IF EXISTS `sky_phone_crewlink_invitations`; +DROP TABLE IF EXISTS `sky_phone_crewlink_memberships`; +DROP TABLE IF EXISTS `sky_phone_crewlink_pings`; +DROP TABLE IF EXISTS `sky_phone_crewlink_profiles`; +DROP TABLE IF EXISTS `sky_phone_crewlink_sessions`; +DROP TABLE IF EXISTS `sky_phone_crypto_audit_events`; +DROP TABLE IF EXISTS `sky_phone_crypto_balances`; +DROP TABLE IF EXISTS `sky_phone_crypto_fills`; +DROP TABLE IF EXISTS `sky_phone_crypto_ledger_entries`; +DROP TABLE IF EXISTS `sky_phone_crypto_market_ticks`; +DROP TABLE IF EXISTS `sky_phone_crypto_markets`; +DROP TABLE IF EXISTS `sky_phone_crypto_operations`; +DROP TABLE IF EXISTS `sky_phone_crypto_profiles`; +DROP TABLE IF EXISTS `sky_phone_crypto_quotes`; +DROP TABLE IF EXISTS `sky_phone_crypto_settlements`; +DROP TABLE IF EXISTS `sky_phone_custom_app_data`; +DROP TABLE IF EXISTS `sky_phone_custom_tones`; +DROP TABLE IF EXISTS `sky_phone_darkchat_blocks`; +DROP TABLE IF EXISTS `sky_phone_darkchat_contacts`; +DROP TABLE IF EXISTS `sky_phone_darkchat_conversations`; +DROP TABLE IF EXISTS `sky_phone_darkchat_members`; +DROP TABLE IF EXISTS `sky_phone_darkchat_messages`; +DROP TABLE IF EXISTS `sky_phone_darkchat_profiles`; +DROP TABLE IF EXISTS `sky_phone_darkchat_reports`; +DROP TABLE IF EXISTS `sky_phone_device_data`; +DROP TABLE IF EXISTS `sky_phone_device_security`; +DROP TABLE IF EXISTS `sky_phone_devices`; +DROP TABLE IF EXISTS `sky_phone_easyshare_preferences`; +DROP TABLE IF EXISTS `sky_phone_easyshare_transfers`; +DROP TABLE IF EXISTS `sky_phone_feather_blocks`; +DROP TABLE IF EXISTS `sky_phone_feather_follows`; +DROP TABLE IF EXISTS `sky_phone_feather_hashtags`; +DROP TABLE IF EXISTS `sky_phone_feather_notifications`; +DROP TABLE IF EXISTS `sky_phone_feather_post_media`; +DROP TABLE IF EXISTS `sky_phone_feather_posts`; +DROP TABLE IF EXISTS `sky_phone_feather_profiles`; +DROP TABLE IF EXISTS `sky_phone_feather_reactions`; +DROP TABLE IF EXISTS `sky_phone_feather_reports`; +DROP TABLE IF EXISTS `sky_phone_flare_matches`; +DROP TABLE IF EXISTS `sky_phone_flare_messages`; +DROP TABLE IF EXISTS `sky_phone_flare_profile_photos`; +DROP TABLE IF EXISTS `sky_phone_flare_profiles`; +DROP TABLE IF EXISTS `sky_phone_flare_swipes`; +DROP TABLE IF EXISTS `sky_phone_fliptok_blocks`; +DROP TABLE IF EXISTS `sky_phone_fliptok_comment_reactions`; +DROP TABLE IF EXISTS `sky_phone_fliptok_comments`; +DROP TABLE IF EXISTS `sky_phone_fliptok_credentials`; +DROP TABLE IF EXISTS `sky_phone_fliptok_follows`; +DROP TABLE IF EXISTS `sky_phone_fliptok_notifications`; +DROP TABLE IF EXISTS `sky_phone_fliptok_profiles`; +DROP TABLE IF EXISTS `sky_phone_fliptok_reactions`; +DROP TABLE IF EXISTS `sky_phone_fliptok_reports`; +DROP TABLE IF EXISTS `sky_phone_fliptok_sessions`; +DROP TABLE IF EXISTS `sky_phone_fliptok_video_media`; +DROP TABLE IF EXISTS `sky_phone_fliptok_videos`; +DROP TABLE IF EXISTS `sky_phone_health_daily`; +DROP TABLE IF EXISTS `sky_phone_health_profiles`; +DROP TABLE IF EXISTS `sky_phone_mail_drafts`; +DROP TABLE IF EXISTS `sky_phone_mail_entries`; +DROP TABLE IF EXISTS `sky_phone_mail_messages`; +DROP TABLE IF EXISTS `sky_phone_mailboxes`; +DROP TABLE IF EXISTS `sky_phone_map_markers`; +DROP TABLE IF EXISTS `sky_phone_marketplace_blocks`; +DROP TABLE IF EXISTS `sky_phone_marketplace_favorites`; +DROP TABLE IF EXISTS `sky_phone_marketplace_images`; +DROP TABLE IF EXISTS `sky_phone_marketplace_inquiries`; +DROP TABLE IF EXISTS `sky_phone_marketplace_listings`; +DROP TABLE IF EXISTS `sky_phone_marketplace_messages`; +DROP TABLE IF EXISTS `sky_phone_marketplace_offers`; +DROP TABLE IF EXISTS `sky_phone_marketplace_profiles`; +DROP TABLE IF EXISTS `sky_phone_marketplace_reports`; +DROP TABLE IF EXISTS `sky_phone_media`; +DROP TABLE IF EXISTS `sky_phone_migration_numbers`; +DROP TABLE IF EXISTS `sky_phone_migration_owners`; +DROP TABLE IF EXISTS `sky_phone_migrations`; +DROP TABLE IF EXISTS `sky_phone_music_playlist_items`; +DROP TABLE IF EXISTS `sky_phone_music_playlists`; +DROP TABLE IF EXISTS `sky_phone_music_youtube_songs`; +DROP TABLE IF EXISTS `sky_phone_notes`; +DROP TABLE IF EXISTS `sky_phone_pages_images`; +DROP TABLE IF EXISTS `sky_phone_pages_posts`; +DROP TABLE IF EXISTS `sky_phone_pages_profiles`; +DROP TABLE IF EXISTS `sky_phone_pages_reactions`; +DROP TABLE IF EXISTS `sky_phone_picstagram_activities`; +DROP TABLE IF EXISTS `sky_phone_picstagram_blocks`; +DROP TABLE IF EXISTS `sky_phone_picstagram_comment_reactions`; +DROP TABLE IF EXISTS `sky_phone_picstagram_comments`; +DROP TABLE IF EXISTS `sky_phone_picstagram_credentials`; +DROP TABLE IF EXISTS `sky_phone_picstagram_follows`; +DROP TABLE IF EXISTS `sky_phone_picstagram_moderation_audit`; +DROP TABLE IF EXISTS `sky_phone_picstagram_post_media`; +DROP TABLE IF EXISTS `sky_phone_picstagram_posts`; +DROP TABLE IF EXISTS `sky_phone_picstagram_profiles`; +DROP TABLE IF EXISTS `sky_phone_picstagram_reactions`; +DROP TABLE IF EXISTS `sky_phone_picstagram_reports`; +DROP TABLE IF EXISTS `sky_phone_picstagram_sessions`; +DROP TABLE IF EXISTS `sky_phone_picstagram_stories`; +DROP TABLE IF EXISTS `sky_phone_picstagram_story_views`; +DROP TABLE IF EXISTS `sky_phone_radio_profiles`; +DROP TABLE IF EXISTS `sky_phone_sims`; +DROP TABLE IF EXISTS `sky_phone_skyride_profiles`; +DROP TABLE IF EXISTS `sky_phone_skyride_rides`; +DROP TABLE IF EXISTS `sky_phone_sms_messages`; +DROP TABLE IF EXISTS `sky_phone_voice_memos`; +DROP TABLE IF EXISTS `sky_phone_weazel_article_media`; +DROP TABLE IF EXISTS `sky_phone_weazel_articles`; + +SET FOREIGN_KEY_CHECKS = @sky_phone_previous_foreign_key_checks;