From a0d0e1686a0800d9996c2c221e1ac328c6a60296 Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Mon, 12 Jul 2021 21:35:43 -0400 Subject: [PATCH] remove: down migration - streamline database migrations by removing the down method for UNIT3D as we never rollback migrations. - generated the migrations stubs used by artisan make:migration so newly made migrations will not contain the down method as well. --- ...017_12_10_020753_create_articles_table.php | 10 --------- .../2017_12_10_020753_create_ban_table.php | 10 --------- ...12_10_020753_create_bon_exchange_table.php | 10 --------- ...0_020753_create_bon_transactions_table.php | 10 --------- ...17_12_10_020753_create_bookmarks_table.php | 10 --------- ...7_12_10_020753_create_categories_table.php | 10 --------- ...2017_12_10_020753_create_clients_table.php | 10 --------- ...017_12_10_020753_create_comments_table.php | 10 --------- ...753_create_failed_login_attempts_table.php | 10 --------- ..._020753_create_featured_torrents_table.php | 10 --------- .../2017_12_10_020753_create_files_table.php | 10 --------- ...2017_12_10_020753_create_follows_table.php | 10 --------- .../2017_12_10_020753_create_forums_table.php | 10 --------- ...17_12_10_020753_create_graveyard_table.php | 10 --------- .../2017_12_10_020753_create_groups_table.php | 10 --------- ...2017_12_10_020753_create_history_table.php | 10 --------- ...2017_12_10_020753_create_invites_table.php | 10 --------- .../2017_12_10_020753_create_jobs_table.php | 10 --------- .../2017_12_10_020753_create_likes_table.php | 10 --------- ..._10_020753_create_log_activities_table.php | 10 --------- ...2_10_020753_create_notifications_table.php | 10 --------- ...2017_12_10_020753_create_options_table.php | 10 --------- .../2017_12_10_020753_create_pages_table.php | 10 --------- ...10_020753_create_password_resets_table.php | 10 --------- .../2017_12_10_020753_create_peers_table.php | 10 --------- ..._12_10_020753_create_permissions_table.php | 10 --------- ...020753_create_personal_freeleech_table.php | 10 --------- .../2017_12_10_020753_create_polls_table.php | 10 --------- .../2017_12_10_020753_create_posts_table.php | 10 --------- ...0_020753_create_private_messages_table.php | 10 --------- ...2017_12_10_020753_create_reports_table.php | 10 --------- ..._10_020753_create_request_bounty_table.php | 10 --------- ..._10_020753_create_request_claims_table.php | 10 --------- ...017_12_10_020753_create_requests_table.php | 10 --------- .../2017_12_10_020753_create_rss_table.php | 10 --------- ...017_12_10_020753_create_sessions_table.php | 10 --------- ...017_12_10_020753_create_shoutbox_table.php | 10 --------- ..._12_10_020753_create_tag_torrent_table.php | 10 --------- .../2017_12_10_020753_create_tags_table.php | 10 --------- .../2017_12_10_020753_create_thanks_table.php | 10 --------- .../2017_12_10_020753_create_topics_table.php | 10 --------- ...017_12_10_020753_create_torrents_table.php | 10 --------- .../2017_12_10_020753_create_types_table.php | 10 --------- ...0_020753_create_user_activations_table.php | 10 --------- ...7_12_10_020753_create_user_notes_table.php | 10 --------- .../2017_12_10_020753_create_users_table.php | 10 --------- .../2017_12_10_020753_create_voters_table.php | 10 --------- ...017_12_10_020753_create_warnings_table.php | 10 --------- ...754_add_foreign_keys_to_articles_table.php | 12 ----------- ...0_020754_add_foreign_keys_to_ban_table.php | 13 ------------ ...0754_add_foreign_keys_to_clients_table.php | 12 ----------- ...754_add_foreign_keys_to_comments_table.php | 13 ------------ ...0754_add_foreign_keys_to_history_table.php | 13 ------------ ...020754_add_foreign_keys_to_peers_table.php | 13 ------------ ...0754_add_foreign_keys_to_reports_table.php | 13 ------------ ...0_020754_add_foreign_keys_to_rss_table.php | 12 ----------- ...754_add_foreign_keys_to_torrents_table.php | 12 ----------- ...20754_add_foreign_keys_to_voters_table.php | 12 ----------- ...754_add_foreign_keys_to_warnings_table.php | 14 ------------- ...1_123452_add_custom_css_to_users_table.php | 12 ----------- .../2017_12_27_000000_add_locale_column.php | 12 ----------- ...095412_add_implemented_to_topics_table.php | 12 ----------- ...1_25_000000_add_twostep_to_users_table.php | 12 ----------- ...2024_add_last_reply_at_to_topics_table.php | 12 ----------- ...000000_add_is_internal_to_groups_table.php | 12 ----------- ...00000_add_position_to_categories_table.php | 12 ----------- ...03_21_000000_add_censor_to_users_table.php | 12 ----------- ..._000000_add_chat_hidden_to_users_table.php | 12 ----------- ..._04_19_221542_create_failed_jobs_table.php | 10 --------- .../2018_04_21_181026_create_wishes_table.php | 10 --------- .../2018_04_22_195516_alter_reports_table.php | 13 ------------ ...2018_04_28_021651_alter_shoutbox_table.php | 10 --------- ...18_04_28_022305_create_chatrooms_table.php | 10 --------- ..._022344_add_chatroom_id_to_users_table.php | 12 ----------- ...5_04_101711_create_chat_statuses_table.php | 10 --------- ...2055_add_chat_status_id_to_users_table.php | 12 ----------- ..._183534_add_can_upload_to_groups_table.php | 12 ----------- ...d_receiver_id_column_to_messages_table.php | 12 ----------- .../2018_05_18_144651_rename_ban_table.php | 10 --------- ...2459_add_torrent_layout_to_users_table.php | 12 ----------- .../2018_05_21_192858_alter_peers_table.php | 12 ----------- ...22_224911_alter_private_messages_table.php | 12 ----------- .../2018_05_31_120936_create_albums_table.php | 5 ----- .../2018_05_31_120955_create_images_table.php | 5 ----- ...10000_create_topic_subscriptions_table.php | 10 --------- ...12_114125_add_soft_deletes_to_warnings.php | 12 ----------- ..._08_19_212319_create_git_updates_table.php | 10 --------- ..._153849_add_soft_deletes_to_user_table.php | 12 ----------- ..._205852_add_internal_to_torrents_table.php | 12 ----------- ...9_29_163937_add_anon_to_requests_table.php | 12 ----------- ...64525_add_anon_to_request_bounty_table.php | 12 ----------- ..._09_010002_add_immune_to_history_table.php | 12 ----------- ...12_03_024251_create_applications_table.php | 10 --------- ..._create_application_image_proofs_table.php | 10 --------- ...12_create_application_url_proofs_table.php | 10 --------- ..._12_06_012908_update_tag_torrent_table.php | 10 --------- ...0_020753_create_freeleech_tokens_table.php | 10 --------- ...1_20_070937_create_two_step_auth_table.php | 10 --------- ...19_01_09_151754_alter_categories_table.php | 10 --------- ...9_175336_add_incognito_to_groups_table.php | 12 ----------- ...102512_add_request_id_to_reports_table.php | 13 ------------ .../2019_01_11_001150_alter_rss_table.php | 17 --------------- ...210_add_torrent_filters_to_users_table.php | 12 ----------- ...23_034500_alter_bon_transactions_table.php | 12 ----------- ...33802_rename_topic_subscriptions_table.php | 12 ----------- ...2019_01_24_190220_alter_torrents_table.php | 12 ----------- ...01_27_005216_create_user_privacy_table.php | 10 --------- .../2019_01_28_031842_alter_groups_table.php | 12 ----------- ...225127_create_user_notifications_table.php | 10 --------- .../2019_01_29_054104_alter_users_tables.php | 12 ----------- ..._02_04_041644_create_user_echoes_table.php | 10 --------- .../2019_02_05_220444_create_bots_table.php | 10 --------- ...06_005248_add_bot_id_to_messages_table.php | 12 ----------- ...6_075938_create_bot_transactions_table.php | 12 ----------- ...2_07_022409_create_user_audibles_table.php | 10 --------- ...9_02_10_010213_fix_chat_related_tables.php | 12 ----------- ...21_133950_add_is_owner_to_groups_table.php | 12 ----------- ...1047_add_request_to_user_privacy_table.php | 12 ----------- .../2019_03_20_214306_alter_users_table.php | 12 ----------- ..._172554_add_last_action_to_users_table.php | 12 ----------- ...645_add_release_year_to_torrents_table.php | 12 ----------- .../2019_07_30_210848_create_tv_table.php | 10 --------- ...2019_07_30_210849_create_seasons_table.php | 10 --------- .../2019_07_30_210850_create_cast_table.php | 10 --------- ...9_07_30_210850_create_collection_table.php | 10 --------- ...19_07_30_210850_create_companies_table.php | 10 --------- ...019_07_30_210850_create_episodes_table.php | 10 --------- .../2019_07_30_210850_create_genres_table.php | 10 --------- .../2019_07_30_210850_create_movie_table.php | 10 --------- ...019_07_30_210850_create_networks_table.php | 10 --------- .../2019_07_30_210850_create_person_table.php | 10 --------- ...2019_07_31_024816_alter_requests_table.php | 12 ----------- ...07_31_210850_create_cast_episode_table.php | 10 --------- ...9_07_31_210850_create_cast_movie_table.php | 10 --------- ..._07_31_210850_create_cast_season_table.php | 10 --------- ...2019_07_31_210850_create_cast_tv_table.php | 10 --------- ...9_07_31_210850_create_company_tv_table.php | 10 --------- ...07_31_210850_create_crew_episode_table.php | 10 --------- ...9_07_31_210850_create_crew_movie_table.php | 10 --------- ..._07_31_210850_create_crew_season_table.php | 10 --------- ...2019_07_31_210850_create_crew_tv_table.php | 10 --------- ...210850_create_episode_guest_star_table.php | 10 --------- ..._31_210850_create_episode_person_table.php | 10 --------- ...019_07_31_210850_create_genre_tv_table.php | 10 --------- ...9_07_31_210850_create_network_tv_table.php | 10 --------- ...07_31_210850_create_person_movie_table.php | 10 --------- ...19_07_31_210850_create_person_tv_table.php | 10 --------- ...1_210851_create_collection_movie_table.php | 10 --------- ...7_31_210851_create_company_movie_table.php | 10 --------- ..._07_31_210851_create_genre_movie_table.php | 10 --------- ...7_31_210851_create_person_season_table.php | 10 --------- ...19_09_22_204439_create_playlists_table.php | 10 --------- ..._204613_create_playlist_torrents_table.php | 10 --------- ...2019_09_24_160123_alter_comments_table.php | 12 ----------- .../2019_11_05_233558_create_audits_table.php | 20 ------------------ ...11_27_025048_add_api_token_field_users.php | 12 ----------- ...019_12_17_030908_create_keywords_table.php | 10 --------- ..._01_02_203432_bdinfo_to_torrents_table.php | 12 ----------- ...85120_add_foreign_key_to_options_table.php | 12 ----------- ...202935_drop_ip_checking_in_polls_table.php | 12 ----------- ...203001_drop_ip_address_in_voters_table.php | 12 ----------- ...020_03_02_031656_update_comments_table.php | 12 ----------- ...20_03_26_030235_create_subtitles_table.php | 10 --------- ...26_034620_create_media_languages_table.php | 10 --------- ...7_add_is_double_upload_to_groups_table.php | 12 ----------- ...9_023939_add_type_id_to_torrents_table.php | 12 ----------- ...6_053632_add_type_id_to_requests_table.php | 12 ----------- ..._06_06_185230_create_resolutions_table.php | 10 --------- ...38_add_resolution_id_to_torrents_table.php | 12 ----------- ...32_add_resolution_id_to_requests_table.php | 12 ----------- .../2020_06_10_014256_unique_groups.php | 12 ----------- ...115296_add_bumped_at_to_torrents_table.php | 12 ----------- .../2020_07_07_202935_drop_tags_tables.php | 10 --------- ...6_143759_add_uuid_to_failed_jobs_table.php | 12 ----------- ..._10_07_012129_create_job_batches_table.php | 10 --------- ...0_18_235628_create_genre_torrent_table.php | 10 --------- .../2020_11_01_165838_update_wishes_table.php | 12 ----------- .../2021_01_02_230512_update_users_table.php | 14 ------------- ...72_update_nfo_column_on_torrents_table.php | 10 --------- ...2021_01_18_191121_create_tickets_table.php | 10 --------- ..._191321_create_ticket_categories_table.php | 10 --------- ..._191336_create_ticket_priorities_table.php | 10 --------- ...191357_create_ticket_attachments_table.php | 10 --------- ...191596_add_ticket_id_to_comments_table.php | 12 ----------- ...1_03_04_042851_create_watchlists_table.php | 10 --------- ...add_personal_release_to_torrents_table.php | 12 ----------- ...4_093812_add_read_column_tickets_table.php | 13 ------------ ...421_update_about_column_on_users_table.php | 10 --------- ...26_215430_create_recommendations_table.php | 10 --------- ...3452_add_standalone_css_to_users_table.php | 12 ----------- ...537_add_flush_own_peers_to_users_table.php | 12 ----------- stubs/migration.create.stub | 21 +++++++++++++++++++ stubs/migration.stub | 18 ++++++++++++++++ stubs/migration.update.stub | 20 ++++++++++++++++++ 194 files changed, 59 insertions(+), 2075 deletions(-) create mode 100644 stubs/migration.create.stub create mode 100644 stubs/migration.stub create mode 100644 stubs/migration.update.stub diff --git a/database/migrations/2017_12_10_020753_create_articles_table.php b/database/migrations/2017_12_10_020753_create_articles_table.php index 6f1f908d49..ee331f7009 100644 --- a/database/migrations/2017_12_10_020753_create_articles_table.php +++ b/database/migrations/2017_12_10_020753_create_articles_table.php @@ -33,14 +33,4 @@ public function up() $table->integer('user_id')->index('fk_articles_users1_idx'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('articles'); - } } diff --git a/database/migrations/2017_12_10_020753_create_ban_table.php b/database/migrations/2017_12_10_020753_create_ban_table.php index 7f6cd91d6e..ad7f3f0f31 100644 --- a/database/migrations/2017_12_10_020753_create_ban_table.php +++ b/database/migrations/2017_12_10_020753_create_ban_table.php @@ -33,14 +33,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('ban'); - } } diff --git a/database/migrations/2017_12_10_020753_create_bon_exchange_table.php b/database/migrations/2017_12_10_020753_create_bon_exchange_table.php index 3b92196c6b..37c9b2d2f0 100644 --- a/database/migrations/2017_12_10_020753_create_bon_exchange_table.php +++ b/database/migrations/2017_12_10_020753_create_bon_exchange_table.php @@ -33,14 +33,4 @@ public function up() $table->boolean('invite')->default(0); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('bon_exchange'); - } } diff --git a/database/migrations/2017_12_10_020753_create_bon_transactions_table.php b/database/migrations/2017_12_10_020753_create_bon_transactions_table.php index 2ef0c54085..1861acdb20 100644 --- a/database/migrations/2017_12_10_020753_create_bon_transactions_table.php +++ b/database/migrations/2017_12_10_020753_create_bon_transactions_table.php @@ -34,14 +34,4 @@ public function up() $table->timestamp('date_actioned')->default(DB::raw('CURRENT_TIMESTAMP')); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('bon_transactions'); - } } diff --git a/database/migrations/2017_12_10_020753_create_bookmarks_table.php b/database/migrations/2017_12_10_020753_create_bookmarks_table.php index ecdbcf2709..e9b7cc67a0 100644 --- a/database/migrations/2017_12_10_020753_create_bookmarks_table.php +++ b/database/migrations/2017_12_10_020753_create_bookmarks_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('bookmarks'); - } } diff --git a/database/migrations/2017_12_10_020753_create_categories_table.php b/database/migrations/2017_12_10_020753_create_categories_table.php index 256866ce1f..a05c0e5e25 100644 --- a/database/migrations/2017_12_10_020753_create_categories_table.php +++ b/database/migrations/2017_12_10_020753_create_categories_table.php @@ -32,14 +32,4 @@ public function up() $table->integer('num_torrent')->default(0); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('categories'); - } } diff --git a/database/migrations/2017_12_10_020753_create_clients_table.php b/database/migrations/2017_12_10_020753_create_clients_table.php index d963bceeec..dbde80ef1d 100644 --- a/database/migrations/2017_12_10_020753_create_clients_table.php +++ b/database/migrations/2017_12_10_020753_create_clients_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('clients'); - } } diff --git a/database/migrations/2017_12_10_020753_create_comments_table.php b/database/migrations/2017_12_10_020753_create_comments_table.php index 9f55e4fc97..ff43c5c868 100644 --- a/database/migrations/2017_12_10_020753_create_comments_table.php +++ b/database/migrations/2017_12_10_020753_create_comments_table.php @@ -34,14 +34,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('comments'); - } } diff --git a/database/migrations/2017_12_10_020753_create_failed_login_attempts_table.php b/database/migrations/2017_12_10_020753_create_failed_login_attempts_table.php index 40cda7766e..8ec4ec9ee0 100644 --- a/database/migrations/2017_12_10_020753_create_failed_login_attempts_table.php +++ b/database/migrations/2017_12_10_020753_create_failed_login_attempts_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('failed_login_attempts'); - } } diff --git a/database/migrations/2017_12_10_020753_create_featured_torrents_table.php b/database/migrations/2017_12_10_020753_create_featured_torrents_table.php index 0fd63719ca..3bd538cd5c 100644 --- a/database/migrations/2017_12_10_020753_create_featured_torrents_table.php +++ b/database/migrations/2017_12_10_020753_create_featured_torrents_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('featured_torrents'); - } } diff --git a/database/migrations/2017_12_10_020753_create_files_table.php b/database/migrations/2017_12_10_020753_create_files_table.php index 9fdb547260..4d2545279f 100644 --- a/database/migrations/2017_12_10_020753_create_files_table.php +++ b/database/migrations/2017_12_10_020753_create_files_table.php @@ -30,14 +30,4 @@ public function up() $table->bigInteger('torrent_id')->unsigned()->index('fk_files_torrents1_idx'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('files'); - } } diff --git a/database/migrations/2017_12_10_020753_create_follows_table.php b/database/migrations/2017_12_10_020753_create_follows_table.php index 7ec2f06813..a39e730fef 100644 --- a/database/migrations/2017_12_10_020753_create_follows_table.php +++ b/database/migrations/2017_12_10_020753_create_follows_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('follows'); - } } diff --git a/database/migrations/2017_12_10_020753_create_forums_table.php b/database/migrations/2017_12_10_020753_create_forums_table.php index 4f8e0483df..d619bb39a4 100644 --- a/database/migrations/2017_12_10_020753_create_forums_table.php +++ b/database/migrations/2017_12_10_020753_create_forums_table.php @@ -40,14 +40,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('forums'); - } } diff --git a/database/migrations/2017_12_10_020753_create_graveyard_table.php b/database/migrations/2017_12_10_020753_create_graveyard_table.php index 14f5f83e92..141c74496a 100644 --- a/database/migrations/2017_12_10_020753_create_graveyard_table.php +++ b/database/migrations/2017_12_10_020753_create_graveyard_table.php @@ -32,14 +32,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('graveyard'); - } } diff --git a/database/migrations/2017_12_10_020753_create_groups_table.php b/database/migrations/2017_12_10_020753_create_groups_table.php index 5e6b13f49e..44f935677e 100644 --- a/database/migrations/2017_12_10_020753_create_groups_table.php +++ b/database/migrations/2017_12_10_020753_create_groups_table.php @@ -39,14 +39,4 @@ public function up() $table->boolean('autogroup')->default(0); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('groups'); - } } diff --git a/database/migrations/2017_12_10_020753_create_history_table.php b/database/migrations/2017_12_10_020753_create_history_table.php index 1f168553b9..e67843eec7 100644 --- a/database/migrations/2017_12_10_020753_create_history_table.php +++ b/database/migrations/2017_12_10_020753_create_history_table.php @@ -40,14 +40,4 @@ public function up() $table->dateTime('completed_at')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('history'); - } } diff --git a/database/migrations/2017_12_10_020753_create_invites_table.php b/database/migrations/2017_12_10_020753_create_invites_table.php index 7de31a1607..cfda590b09 100644 --- a/database/migrations/2017_12_10_020753_create_invites_table.php +++ b/database/migrations/2017_12_10_020753_create_invites_table.php @@ -35,14 +35,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('invites'); - } } diff --git a/database/migrations/2017_12_10_020753_create_jobs_table.php b/database/migrations/2017_12_10_020753_create_jobs_table.php index 75af558b24..c39042e69e 100644 --- a/database/migrations/2017_12_10_020753_create_jobs_table.php +++ b/database/migrations/2017_12_10_020753_create_jobs_table.php @@ -34,14 +34,4 @@ public function up() $table->index(['queue', 'reserved_at']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('jobs'); - } } diff --git a/database/migrations/2017_12_10_020753_create_likes_table.php b/database/migrations/2017_12_10_020753_create_likes_table.php index 50a5c8a391..3dcb0b2417 100644 --- a/database/migrations/2017_12_10_020753_create_likes_table.php +++ b/database/migrations/2017_12_10_020753_create_likes_table.php @@ -32,14 +32,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('likes'); - } } diff --git a/database/migrations/2017_12_10_020753_create_log_activities_table.php b/database/migrations/2017_12_10_020753_create_log_activities_table.php index 4fa7087854..686ba7bc63 100644 --- a/database/migrations/2017_12_10_020753_create_log_activities_table.php +++ b/database/migrations/2017_12_10_020753_create_log_activities_table.php @@ -34,14 +34,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('log_activities'); - } } diff --git a/database/migrations/2017_12_10_020753_create_notifications_table.php b/database/migrations/2017_12_10_020753_create_notifications_table.php index ac6ed0e94e..25485eccd2 100644 --- a/database/migrations/2017_12_10_020753_create_notifications_table.php +++ b/database/migrations/2017_12_10_020753_create_notifications_table.php @@ -34,14 +34,4 @@ public function up() $table->index(['notifiable_id', 'notifiable_type']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('notifications'); - } } diff --git a/database/migrations/2017_12_10_020753_create_options_table.php b/database/migrations/2017_12_10_020753_create_options_table.php index 852756db4b..6431ed9885 100644 --- a/database/migrations/2017_12_10_020753_create_options_table.php +++ b/database/migrations/2017_12_10_020753_create_options_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('options'); - } } diff --git a/database/migrations/2017_12_10_020753_create_pages_table.php b/database/migrations/2017_12_10_020753_create_pages_table.php index 56fdb1a9dd..962481db5e 100644 --- a/database/migrations/2017_12_10_020753_create_pages_table.php +++ b/database/migrations/2017_12_10_020753_create_pages_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('pages'); - } } diff --git a/database/migrations/2017_12_10_020753_create_password_resets_table.php b/database/migrations/2017_12_10_020753_create_password_resets_table.php index 2645195675..accdc3b3fd 100644 --- a/database/migrations/2017_12_10_020753_create_password_resets_table.php +++ b/database/migrations/2017_12_10_020753_create_password_resets_table.php @@ -29,14 +29,4 @@ public function up() $table->dateTime('created_at')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('password_resets'); - } } diff --git a/database/migrations/2017_12_10_020753_create_peers_table.php b/database/migrations/2017_12_10_020753_create_peers_table.php index d7ced656fe..34818c82e6 100644 --- a/database/migrations/2017_12_10_020753_create_peers_table.php +++ b/database/migrations/2017_12_10_020753_create_peers_table.php @@ -39,14 +39,4 @@ public function up() $table->integer('user_id')->nullable()->index('fk_peers_users1_idx'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('peers'); - } } diff --git a/database/migrations/2017_12_10_020753_create_permissions_table.php b/database/migrations/2017_12_10_020753_create_permissions_table.php index 5272ae7272..6656b18465 100644 --- a/database/migrations/2017_12_10_020753_create_permissions_table.php +++ b/database/migrations/2017_12_10_020753_create_permissions_table.php @@ -33,14 +33,4 @@ public function up() $table->boolean('start_topic'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('permissions'); - } } diff --git a/database/migrations/2017_12_10_020753_create_personal_freeleech_table.php b/database/migrations/2017_12_10_020753_create_personal_freeleech_table.php index 1044ff8f9a..acee2edb95 100644 --- a/database/migrations/2017_12_10_020753_create_personal_freeleech_table.php +++ b/database/migrations/2017_12_10_020753_create_personal_freeleech_table.php @@ -29,14 +29,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('personal_freeleech'); - } } diff --git a/database/migrations/2017_12_10_020753_create_polls_table.php b/database/migrations/2017_12_10_020753_create_polls_table.php index 960fd28851..7b5222f983 100644 --- a/database/migrations/2017_12_10_020753_create_polls_table.php +++ b/database/migrations/2017_12_10_020753_create_polls_table.php @@ -33,14 +33,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('polls'); - } } diff --git a/database/migrations/2017_12_10_020753_create_posts_table.php b/database/migrations/2017_12_10_020753_create_posts_table.php index 04ed5049bb..735cc2a044 100644 --- a/database/migrations/2017_12_10_020753_create_posts_table.php +++ b/database/migrations/2017_12_10_020753_create_posts_table.php @@ -31,14 +31,4 @@ public function up() $table->integer('topic_id')->index('fk_posts_topics1_idx'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('posts'); - } } diff --git a/database/migrations/2017_12_10_020753_create_private_messages_table.php b/database/migrations/2017_12_10_020753_create_private_messages_table.php index 16abb739e6..148e6f8b59 100644 --- a/database/migrations/2017_12_10_020753_create_private_messages_table.php +++ b/database/migrations/2017_12_10_020753_create_private_messages_table.php @@ -35,14 +35,4 @@ public function up() $table->index(['sender_id', 'read']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('private_messages'); - } } diff --git a/database/migrations/2017_12_10_020753_create_reports_table.php b/database/migrations/2017_12_10_020753_create_reports_table.php index cac8947544..7c66834486 100644 --- a/database/migrations/2017_12_10_020753_create_reports_table.php +++ b/database/migrations/2017_12_10_020753_create_reports_table.php @@ -35,14 +35,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('reports'); - } } diff --git a/database/migrations/2017_12_10_020753_create_request_bounty_table.php b/database/migrations/2017_12_10_020753_create_request_bounty_table.php index cfdcdafc67..c5047db388 100644 --- a/database/migrations/2017_12_10_020753_create_request_bounty_table.php +++ b/database/migrations/2017_12_10_020753_create_request_bounty_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('request_bounty'); - } } diff --git a/database/migrations/2017_12_10_020753_create_request_claims_table.php b/database/migrations/2017_12_10_020753_create_request_claims_table.php index c53efb0860..28564f81d7 100644 --- a/database/migrations/2017_12_10_020753_create_request_claims_table.php +++ b/database/migrations/2017_12_10_020753_create_request_claims_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('request_claims'); - } } diff --git a/database/migrations/2017_12_10_020753_create_requests_table.php b/database/migrations/2017_12_10_020753_create_requests_table.php index 089ff0b2f1..b2e4474332 100644 --- a/database/migrations/2017_12_10_020753_create_requests_table.php +++ b/database/migrations/2017_12_10_020753_create_requests_table.php @@ -44,14 +44,4 @@ public function up() $table->dateTime('approved_when')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('requests'); - } } diff --git a/database/migrations/2017_12_10_020753_create_rss_table.php b/database/migrations/2017_12_10_020753_create_rss_table.php index 2b02f4a714..9716975510 100644 --- a/database/migrations/2017_12_10_020753_create_rss_table.php +++ b/database/migrations/2017_12_10_020753_create_rss_table.php @@ -29,14 +29,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('rss'); - } } diff --git a/database/migrations/2017_12_10_020753_create_sessions_table.php b/database/migrations/2017_12_10_020753_create_sessions_table.php index 11e4e39d9f..541e0841ff 100644 --- a/database/migrations/2017_12_10_020753_create_sessions_table.php +++ b/database/migrations/2017_12_10_020753_create_sessions_table.php @@ -32,14 +32,4 @@ public function up() $table->integer('last_activity'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('sessions'); - } } diff --git a/database/migrations/2017_12_10_020753_create_shoutbox_table.php b/database/migrations/2017_12_10_020753_create_shoutbox_table.php index 4205e64848..a896cb8647 100644 --- a/database/migrations/2017_12_10_020753_create_shoutbox_table.php +++ b/database/migrations/2017_12_10_020753_create_shoutbox_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('shoutbox'); - } } diff --git a/database/migrations/2017_12_10_020753_create_tag_torrent_table.php b/database/migrations/2017_12_10_020753_create_tag_torrent_table.php index 72a61f7a2a..f84e082a4d 100644 --- a/database/migrations/2017_12_10_020753_create_tag_torrent_table.php +++ b/database/migrations/2017_12_10_020753_create_tag_torrent_table.php @@ -29,14 +29,4 @@ public function up() $table->primary(['torrent_id', 'tag_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('tag_torrent'); - } } diff --git a/database/migrations/2017_12_10_020753_create_tags_table.php b/database/migrations/2017_12_10_020753_create_tags_table.php index ca9678611c..583624b675 100644 --- a/database/migrations/2017_12_10_020753_create_tags_table.php +++ b/database/migrations/2017_12_10_020753_create_tags_table.php @@ -29,14 +29,4 @@ public function up() $table->string('slug')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('tags'); - } } diff --git a/database/migrations/2017_12_10_020753_create_thanks_table.php b/database/migrations/2017_12_10_020753_create_thanks_table.php index f1a87e3cf5..d5c0a6fa71 100644 --- a/database/migrations/2017_12_10_020753_create_thanks_table.php +++ b/database/migrations/2017_12_10_020753_create_thanks_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('thanks'); - } } diff --git a/database/migrations/2017_12_10_020753_create_topics_table.php b/database/migrations/2017_12_10_020753_create_topics_table.php index 9d0d6f57c4..d033400b2d 100644 --- a/database/migrations/2017_12_10_020753_create_topics_table.php +++ b/database/migrations/2017_12_10_020753_create_topics_table.php @@ -45,14 +45,4 @@ public function up() $table->integer('forum_id')->index('fk_topics_forums1_idx'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('topics'); - } } diff --git a/database/migrations/2017_12_10_020753_create_torrents_table.php b/database/migrations/2017_12_10_020753_create_torrents_table.php index 31fcbec3e6..df057ebd59 100644 --- a/database/migrations/2017_12_10_020753_create_torrents_table.php +++ b/database/migrations/2017_12_10_020753_create_torrents_table.php @@ -59,14 +59,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('torrents'); - } } diff --git a/database/migrations/2017_12_10_020753_create_types_table.php b/database/migrations/2017_12_10_020753_create_types_table.php index 58f55d5528..e759e4390d 100644 --- a/database/migrations/2017_12_10_020753_create_types_table.php +++ b/database/migrations/2017_12_10_020753_create_types_table.php @@ -30,14 +30,4 @@ public function up() $table->integer('position'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('types'); - } } diff --git a/database/migrations/2017_12_10_020753_create_user_activations_table.php b/database/migrations/2017_12_10_020753_create_user_activations_table.php index ebd9be26f2..b742f7630a 100644 --- a/database/migrations/2017_12_10_020753_create_user_activations_table.php +++ b/database/migrations/2017_12_10_020753_create_user_activations_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('user_activations'); - } } diff --git a/database/migrations/2017_12_10_020753_create_user_notes_table.php b/database/migrations/2017_12_10_020753_create_user_notes_table.php index fd2a077997..3c7b577df4 100644 --- a/database/migrations/2017_12_10_020753_create_user_notes_table.php +++ b/database/migrations/2017_12_10_020753_create_user_notes_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('user_notes'); - } } diff --git a/database/migrations/2017_12_10_020753_create_users_table.php b/database/migrations/2017_12_10_020753_create_users_table.php index abc2b6086e..187e260049 100644 --- a/database/migrations/2017_12_10_020753_create_users_table.php +++ b/database/migrations/2017_12_10_020753_create_users_table.php @@ -61,14 +61,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('users'); - } } diff --git a/database/migrations/2017_12_10_020753_create_voters_table.php b/database/migrations/2017_12_10_020753_create_voters_table.php index 351a661480..a5b1d8da42 100644 --- a/database/migrations/2017_12_10_020753_create_voters_table.php +++ b/database/migrations/2017_12_10_020753_create_voters_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('voters'); - } } diff --git a/database/migrations/2017_12_10_020753_create_warnings_table.php b/database/migrations/2017_12_10_020753_create_warnings_table.php index 75f29fb97f..472e1d4a17 100644 --- a/database/migrations/2017_12_10_020753_create_warnings_table.php +++ b/database/migrations/2017_12_10_020753_create_warnings_table.php @@ -33,14 +33,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('warnings'); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_articles_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_articles_table.php index 5607ea80ed..98b5f9293d 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_articles_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_articles_table.php @@ -27,16 +27,4 @@ public function up() $table->foreign('user_id', 'fk_articles_users1')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('RESTRICT'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('articles', function (Blueprint $table) { - $table->dropForeign('fk_articles_users1'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_ban_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_ban_table.php index 05269158c2..8672cf88b9 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_ban_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_ban_table.php @@ -28,17 +28,4 @@ public function up() $table->foreign('created_by', 'foreign_staff_ban_user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('ban', function (Blueprint $table) { - $table->dropForeign('foreign_ban_user_id'); - $table->dropForeign('foreign_staff_ban_user_id'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_clients_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_clients_table.php index c16d0326f1..3f21dfbeda 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_clients_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_clients_table.php @@ -27,16 +27,4 @@ public function up() $table->foreign('user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('clients', function (Blueprint $table) { - $table->dropForeign('clients_user_id_foreign'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_comments_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_comments_table.php index be5952ad15..835884a558 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_comments_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_comments_table.php @@ -28,17 +28,4 @@ public function up() $table->foreign('user_id', 'fk_comments_users_1')->references('id')->on('users')->onUpdate('CASCADE')->onDelete('RESTRICT'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('comments', function (Blueprint $table) { - $table->dropForeign('fk_comments_articles_1'); - $table->dropForeign('fk_comments_users_1'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_history_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_history_table.php index 8271fd09ae..b31b61a37f 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_history_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_history_table.php @@ -28,17 +28,4 @@ public function up() $table->foreign('user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('history', function (Blueprint $table) { - $table->dropForeign('history_info_hash_foreign'); - $table->dropForeign('history_user_id_foreign'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_peers_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_peers_table.php index 873eda7853..fea9eff0e5 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_peers_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_peers_table.php @@ -28,17 +28,4 @@ public function up() $table->foreign('user_id', 'fk_peers_users1')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('RESTRICT'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('peers', function (Blueprint $table) { - $table->dropForeign('fk_peers_torrents1'); - $table->dropForeign('fk_peers_users1'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_reports_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_reports_table.php index 60a0721210..21d496e8d0 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_reports_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_reports_table.php @@ -28,17 +28,4 @@ public function up() $table->foreign('staff_id', 'foreign_staff_user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('reports', function (Blueprint $table) { - $table->dropForeign('foreign_reporting_user_id'); - $table->dropForeign('foreign_staff_user_id'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_rss_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_rss_table.php index c769343353..ecb90aa95d 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_rss_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_rss_table.php @@ -27,16 +27,4 @@ public function up() $table->foreign('userID', 'rss_user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('RESTRICT'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('rss', function (Blueprint $table) { - $table->dropForeign('rss_user_id'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_torrents_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_torrents_table.php index 446f8c268b..5094f313fe 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_torrents_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_torrents_table.php @@ -27,16 +27,4 @@ public function up() $table->foreign('category_id', 'category_id')->references('id')->on('categories')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - $table->dropForeign('category_id'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_voters_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_voters_table.php index ce28317489..b1127d8072 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_voters_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_voters_table.php @@ -27,16 +27,4 @@ public function up() $table->foreign('poll_id')->references('id')->on('polls')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('voters', function (Blueprint $table) { - $table->dropForeign('voters_poll_id_foreign'); - }); - } } diff --git a/database/migrations/2017_12_10_020754_add_foreign_keys_to_warnings_table.php b/database/migrations/2017_12_10_020754_add_foreign_keys_to_warnings_table.php index fea5470637..c7dc2df443 100644 --- a/database/migrations/2017_12_10_020754_add_foreign_keys_to_warnings_table.php +++ b/database/migrations/2017_12_10_020754_add_foreign_keys_to_warnings_table.php @@ -29,18 +29,4 @@ public function up() $table->foreign('warned_by')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('warnings', function (Blueprint $table) { - $table->dropForeign('warnings_torrent_foreign'); - $table->dropForeign('warnings_user_id_foreign'); - $table->dropForeign('warnings_warned_by_foreign'); - }); - } } diff --git a/database/migrations/2017_12_21_123452_add_custom_css_to_users_table.php b/database/migrations/2017_12_21_123452_add_custom_css_to_users_table.php index eeb5ca0338..b497b21a90 100644 --- a/database/migrations/2017_12_21_123452_add_custom_css_to_users_table.php +++ b/database/migrations/2017_12_21_123452_add_custom_css_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->string('custom_css')->after('nav')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2017_12_27_000000_add_locale_column.php b/database/migrations/2017_12_27_000000_add_locale_column.php index 1f5c34c48d..92c7d4644c 100644 --- a/database/migrations/2017_12_27_000000_add_locale_column.php +++ b/database/migrations/2017_12_27_000000_add_locale_column.php @@ -27,16 +27,4 @@ public function up() $table->string('locale')->default(config('app.locale')); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function ($table) { - $table->dropColumn('locale'); - }); - } } diff --git a/database/migrations/2018_01_23_095412_add_implemented_to_topics_table.php b/database/migrations/2018_01_23_095412_add_implemented_to_topics_table.php index f332253b0e..b7a9891138 100644 --- a/database/migrations/2018_01_23_095412_add_implemented_to_topics_table.php +++ b/database/migrations/2018_01_23_095412_add_implemented_to_topics_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('implemented')->default(0)->after('suggestion'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('topics', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_01_25_000000_add_twostep_to_users_table.php b/database/migrations/2018_01_25_000000_add_twostep_to_users_table.php index 17dee3f5a3..bf370df715 100644 --- a/database/migrations/2018_01_25_000000_add_twostep_to_users_table.php +++ b/database/migrations/2018_01_25_000000_add_twostep_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('twostep')->default(0)->after('stat_hidden'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_02_06_142024_add_last_reply_at_to_topics_table.php b/database/migrations/2018_02_06_142024_add_last_reply_at_to_topics_table.php index 4a948ad732..6272a15dd0 100644 --- a/database/migrations/2018_02_06_142024_add_last_reply_at_to_topics_table.php +++ b/database/migrations/2018_02_06_142024_add_last_reply_at_to_topics_table.php @@ -28,16 +28,4 @@ public function up() $table->timestamp('last_reply_at')->nullable()->after('last_post_user_username'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('topics', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_02_14_000000_add_is_internal_to_groups_table.php b/database/migrations/2018_02_14_000000_add_is_internal_to_groups_table.php index 7008e41668..9376bd24ba 100644 --- a/database/migrations/2018_02_14_000000_add_is_internal_to_groups_table.php +++ b/database/migrations/2018_02_14_000000_add_is_internal_to_groups_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('is_internal')->after('effect')->default(0); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('groups', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_03_13_000000_add_position_to_categories_table.php b/database/migrations/2018_03_13_000000_add_position_to_categories_table.php index 8c122b109b..9034bf2233 100644 --- a/database/migrations/2018_03_13_000000_add_position_to_categories_table.php +++ b/database/migrations/2018_03_13_000000_add_position_to_categories_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('position')->after('slug'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('categories', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_03_21_000000_add_censor_to_users_table.php b/database/migrations/2018_03_21_000000_add_censor_to_users_table.php index 07d9b63fad..1d2261009b 100644 --- a/database/migrations/2018_03_21_000000_add_censor_to_users_table.php +++ b/database/migrations/2018_03_21_000000_add_censor_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('censor')->default(0)->after('rsskey'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_03_27_000000_add_chat_hidden_to_users_table.php b/database/migrations/2018_03_27_000000_add_chat_hidden_to_users_table.php index 2d743808ed..4dc0270e06 100644 --- a/database/migrations/2018_03_27_000000_add_chat_hidden_to_users_table.php +++ b/database/migrations/2018_03_27_000000_add_chat_hidden_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('chat_hidden')->default(0)->after('censor'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('chat_hidden', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_04_19_221542_create_failed_jobs_table.php b/database/migrations/2018_04_19_221542_create_failed_jobs_table.php index 7eab5d326a..96d5d85c0d 100644 --- a/database/migrations/2018_04_19_221542_create_failed_jobs_table.php +++ b/database/migrations/2018_04_19_221542_create_failed_jobs_table.php @@ -33,14 +33,4 @@ public function up() $table->timestamp('failed_at')->useCurrent(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('failed_jobs'); - } } diff --git a/database/migrations/2018_04_21_181026_create_wishes_table.php b/database/migrations/2018_04_21_181026_create_wishes_table.php index 0caafb6c8d..eceed72cde 100644 --- a/database/migrations/2018_04_21_181026_create_wishes_table.php +++ b/database/migrations/2018_04_21_181026_create_wishes_table.php @@ -33,14 +33,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('wishes'); - } } diff --git a/database/migrations/2018_04_22_195516_alter_reports_table.php b/database/migrations/2018_04_22_195516_alter_reports_table.php index 679fcfa1eb..f544d35476 100644 --- a/database/migrations/2018_04_22_195516_alter_reports_table.php +++ b/database/migrations/2018_04_22_195516_alter_reports_table.php @@ -30,17 +30,4 @@ public function up() $table->integer('torrent_id')->unsigned(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('reports', function (Blueprint $table) { - $table->dropColumn('reported_user'); - $table->dropColumn('torrent_id'); - }); - } } diff --git a/database/migrations/2018_04_28_021651_alter_shoutbox_table.php b/database/migrations/2018_04_28_021651_alter_shoutbox_table.php index 51d9258e9f..8cd1648148 100644 --- a/database/migrations/2018_04_28_021651_alter_shoutbox_table.php +++ b/database/migrations/2018_04_28_021651_alter_shoutbox_table.php @@ -34,14 +34,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('messages'); - } } diff --git a/database/migrations/2018_04_28_022305_create_chatrooms_table.php b/database/migrations/2018_04_28_022305_create_chatrooms_table.php index 7717513a6e..bcc195d197 100644 --- a/database/migrations/2018_04_28_022305_create_chatrooms_table.php +++ b/database/migrations/2018_04_28_022305_create_chatrooms_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('chatrooms'); - } } diff --git a/database/migrations/2018_04_28_022344_add_chatroom_id_to_users_table.php b/database/migrations/2018_04_28_022344_add_chatroom_id_to_users_table.php index 8b31536715..5ba256fb77 100644 --- a/database/migrations/2018_04_28_022344_add_chatroom_id_to_users_table.php +++ b/database/migrations/2018_04_28_022344_add_chatroom_id_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('chatroom_id')->unsigned()->default(1)->after('rsskey'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_05_04_101711_create_chat_statuses_table.php b/database/migrations/2018_05_04_101711_create_chat_statuses_table.php index 28dc783261..1b4fa0b3dd 100644 --- a/database/migrations/2018_05_04_101711_create_chat_statuses_table.php +++ b/database/migrations/2018_05_04_101711_create_chat_statuses_table.php @@ -32,14 +32,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('chat_statuses'); - } } diff --git a/database/migrations/2018_05_04_102055_add_chat_status_id_to_users_table.php b/database/migrations/2018_05_04_102055_add_chat_status_id_to_users_table.php index bbecc7f3bf..4e3230652d 100644 --- a/database/migrations/2018_05_04_102055_add_chat_status_id_to_users_table.php +++ b/database/migrations/2018_05_04_102055_add_chat_status_id_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('chat_status_id')->unsigned()->default(1); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('chat_status_id'); - }); - } } diff --git a/database/migrations/2018_05_07_183534_add_can_upload_to_groups_table.php b/database/migrations/2018_05_07_183534_add_can_upload_to_groups_table.php index cf71e5c00d..586db587df 100644 --- a/database/migrations/2018_05_07_183534_add_can_upload_to_groups_table.php +++ b/database/migrations/2018_05_07_183534_add_can_upload_to_groups_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('can_upload')->after('is_freeleech')->default(1); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('groups', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_05_15_223339_add_receiver_id_column_to_messages_table.php b/database/migrations/2018_05_15_223339_add_receiver_id_column_to_messages_table.php index f25dedf83a..488fcf7ebf 100644 --- a/database/migrations/2018_05_15_223339_add_receiver_id_column_to_messages_table.php +++ b/database/migrations/2018_05_15_223339_add_receiver_id_column_to_messages_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('receiver_id')->after('chatroom_id')->unsigned()->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('messages', function (Blueprint $table) { - $table->dropColumn('receiver_id'); - }); - } } diff --git a/database/migrations/2018_05_18_144651_rename_ban_table.php b/database/migrations/2018_05_18_144651_rename_ban_table.php index 2d9e664a3f..1cc49064b3 100644 --- a/database/migrations/2018_05_18_144651_rename_ban_table.php +++ b/database/migrations/2018_05_18_144651_rename_ban_table.php @@ -25,14 +25,4 @@ public function up() { Schema::rename('ban', 'bans'); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::rename('bans', 'ban'); - } } diff --git a/database/migrations/2018_05_21_022459_add_torrent_layout_to_users_table.php b/database/migrations/2018_05_21_022459_add_torrent_layout_to_users_table.php index c9f56a6731..4a6c308384 100644 --- a/database/migrations/2018_05_21_022459_add_torrent_layout_to_users_table.php +++ b/database/migrations/2018_05_21_022459_add_torrent_layout_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('torrent_layout')->default(0)->after('nav'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('torrent_layout'); - }); - } } diff --git a/database/migrations/2018_05_21_192858_alter_peers_table.php b/database/migrations/2018_05_21_192858_alter_peers_table.php index e109050f05..81f1daa6aa 100644 --- a/database/migrations/2018_05_21_192858_alter_peers_table.php +++ b/database/migrations/2018_05_21_192858_alter_peers_table.php @@ -27,16 +27,4 @@ public function up() $table->renameColumn('hash', 'info_hash'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('peers', function ($table) { - $table->renameColumn('info_hash', 'hash'); - }); - } } diff --git a/database/migrations/2018_05_22_224911_alter_private_messages_table.php b/database/migrations/2018_05_22_224911_alter_private_messages_table.php index e9d7086172..19d376a315 100644 --- a/database/migrations/2018_05_22_224911_alter_private_messages_table.php +++ b/database/migrations/2018_05_22_224911_alter_private_messages_table.php @@ -27,16 +27,4 @@ public function up() $table->renameColumn('reciever_id', 'receiver_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('private_messages', function ($table) { - $table->renameColumn('receiver_id', 'reciever_id'); - }); - } } diff --git a/database/migrations/2018_05_31_120936_create_albums_table.php b/database/migrations/2018_05_31_120936_create_albums_table.php index 99011bb7ef..e450a054ce 100644 --- a/database/migrations/2018_05_31_120936_create_albums_table.php +++ b/database/migrations/2018_05_31_120936_create_albums_table.php @@ -29,9 +29,4 @@ public function up() $table->timestamps(); }); } - - public function down() - { - Schema::dropIfExists('albums'); - } } diff --git a/database/migrations/2018_05_31_120955_create_images_table.php b/database/migrations/2018_05_31_120955_create_images_table.php index ba737dacb6..cfe206f8f7 100644 --- a/database/migrations/2018_05_31_120955_create_images_table.php +++ b/database/migrations/2018_05_31_120955_create_images_table.php @@ -31,9 +31,4 @@ public function up() $table->timestamps(); }); } - - public function down() - { - Schema::dropIfExists('images'); - } } diff --git a/database/migrations/2018_06_11_110000_create_topic_subscriptions_table.php b/database/migrations/2018_06_11_110000_create_topic_subscriptions_table.php index 872452e0e1..dd9d76a476 100644 --- a/database/migrations/2018_06_11_110000_create_topic_subscriptions_table.php +++ b/database/migrations/2018_06_11_110000_create_topic_subscriptions_table.php @@ -32,14 +32,4 @@ public function up() $table->unique(['user_id', 'topic_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('topic_subscriptions'); - } } diff --git a/database/migrations/2018_07_12_114125_add_soft_deletes_to_warnings.php b/database/migrations/2018_07_12_114125_add_soft_deletes_to_warnings.php index e0c17b1427..b6facfef48 100644 --- a/database/migrations/2018_07_12_114125_add_soft_deletes_to_warnings.php +++ b/database/migrations/2018_07_12_114125_add_soft_deletes_to_warnings.php @@ -29,16 +29,4 @@ public function up() $table->softDeletes()->after('deleted_by'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('warnings', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_08_19_212319_create_git_updates_table.php b/database/migrations/2018_08_19_212319_create_git_updates_table.php index 98de892f2d..677148514b 100644 --- a/database/migrations/2018_08_19_212319_create_git_updates_table.php +++ b/database/migrations/2018_08_19_212319_create_git_updates_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('git_updates'); - } } diff --git a/database/migrations/2018_09_08_153849_add_soft_deletes_to_user_table.php b/database/migrations/2018_09_08_153849_add_soft_deletes_to_user_table.php index 9a6169fa20..5d1b52fb72 100644 --- a/database/migrations/2018_09_08_153849_add_soft_deletes_to_user_table.php +++ b/database/migrations/2018_09_08_153849_add_soft_deletes_to_user_table.php @@ -30,16 +30,4 @@ public function up() $table->softDeletes(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_09_24_205852_add_internal_to_torrents_table.php b/database/migrations/2018_09_24_205852_add_internal_to_torrents_table.php index 70d31de260..71aaa92e51 100644 --- a/database/migrations/2018_09_24_205852_add_internal_to_torrents_table.php +++ b/database/migrations/2018_09_24_205852_add_internal_to_torrents_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('internal')->default(0)->after('sd'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_09_29_163937_add_anon_to_requests_table.php b/database/migrations/2018_09_29_163937_add_anon_to_requests_table.php index a9d37ffbfe..79ebb60ddd 100644 --- a/database/migrations/2018_09_29_163937_add_anon_to_requests_table.php +++ b/database/migrations/2018_09_29_163937_add_anon_to_requests_table.php @@ -29,16 +29,4 @@ public function up() $table->boolean('filled_anon')->default(0)->after('filled_when'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('requests', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_09_29_164525_add_anon_to_request_bounty_table.php b/database/migrations/2018_09_29_164525_add_anon_to_request_bounty_table.php index b5c5861dd1..843c15f441 100644 --- a/database/migrations/2018_09_29_164525_add_anon_to_request_bounty_table.php +++ b/database/migrations/2018_09_29_164525_add_anon_to_request_bounty_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('anon')->default(0)->after('requests_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('request_bounty', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_11_09_010002_add_immune_to_history_table.php b/database/migrations/2018_11_09_010002_add_immune_to_history_table.php index 40e41eb22d..446c36a146 100644 --- a/database/migrations/2018_11_09_010002_add_immune_to_history_table.php +++ b/database/migrations/2018_11_09_010002_add_immune_to_history_table.php @@ -30,16 +30,4 @@ public function up() $table->boolean('prewarn')->default(0)->index()->after('hitrun'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('history', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2018_12_03_024251_create_applications_table.php b/database/migrations/2018_12_03_024251_create_applications_table.php index 97b34f084f..c14a1bb074 100644 --- a/database/migrations/2018_12_03_024251_create_applications_table.php +++ b/database/migrations/2018_12_03_024251_create_applications_table.php @@ -36,14 +36,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('applications'); - } } diff --git a/database/migrations/2018_12_03_032701_create_application_image_proofs_table.php b/database/migrations/2018_12_03_032701_create_application_image_proofs_table.php index 9e2ac0dcb2..2a92c505a0 100644 --- a/database/migrations/2018_12_03_032701_create_application_image_proofs_table.php +++ b/database/migrations/2018_12_03_032701_create_application_image_proofs_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('application_image_proofs'); - } } diff --git a/database/migrations/2018_12_03_032712_create_application_url_proofs_table.php b/database/migrations/2018_12_03_032712_create_application_url_proofs_table.php index 17ea771c04..7c14a6c5fe 100644 --- a/database/migrations/2018_12_03_032712_create_application_url_proofs_table.php +++ b/database/migrations/2018_12_03_032712_create_application_url_proofs_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('application_url_proofs'); - } } diff --git a/database/migrations/2018_12_06_012908_update_tag_torrent_table.php b/database/migrations/2018_12_06_012908_update_tag_torrent_table.php index 2469b46626..1729e119b8 100644 --- a/database/migrations/2018_12_06_012908_update_tag_torrent_table.php +++ b/database/migrations/2018_12_06_012908_update_tag_torrent_table.php @@ -32,14 +32,4 @@ public function up() $table->string('tag_name')->index(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - // - } } diff --git a/database/migrations/2018_1_10_020753_create_freeleech_tokens_table.php b/database/migrations/2018_1_10_020753_create_freeleech_tokens_table.php index 13608a4cdf..518e30fed9 100644 --- a/database/migrations/2018_1_10_020753_create_freeleech_tokens_table.php +++ b/database/migrations/2018_1_10_020753_create_freeleech_tokens_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('freeleech_tokens'); - } } diff --git a/database/migrations/2018_1_20_070937_create_two_step_auth_table.php b/database/migrations/2018_1_20_070937_create_two_step_auth_table.php index 46655a80d4..4889e165e1 100644 --- a/database/migrations/2018_1_20_070937_create_two_step_auth_table.php +++ b/database/migrations/2018_1_20_070937_create_two_step_auth_table.php @@ -34,14 +34,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::drop('twostep_auth'); - } } diff --git a/database/migrations/2019_01_09_151754_alter_categories_table.php b/database/migrations/2019_01_09_151754_alter_categories_table.php index 308daa566b..9d20bc3c72 100644 --- a/database/migrations/2019_01_09_151754_alter_categories_table.php +++ b/database/migrations/2019_01_09_151754_alter_categories_table.php @@ -34,14 +34,4 @@ public function up() $table->dropColumn('meta'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - // - } } diff --git a/database/migrations/2019_01_09_175336_add_incognito_to_groups_table.php b/database/migrations/2019_01_09_175336_add_incognito_to_groups_table.php index 3e4e626471..0ff1d9f684 100644 --- a/database/migrations/2019_01_09_175336_add_incognito_to_groups_table.php +++ b/database/migrations/2019_01_09_175336_add_incognito_to_groups_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('is_incognito')->default(0)->after('can_upload'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('groups', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_01_10_102512_add_request_id_to_reports_table.php b/database/migrations/2019_01_10_102512_add_request_id_to_reports_table.php index 842c46bbdd..272f4afe37 100644 --- a/database/migrations/2019_01_10_102512_add_request_id_to_reports_table.php +++ b/database/migrations/2019_01_10_102512_add_request_id_to_reports_table.php @@ -29,17 +29,4 @@ public function up() $table->integer('torrent_id')->unsigned()->default(0)->change(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('reports', function (Blueprint $table) { - $table->dropColumn('request_id'); - $table->integer('torrent_id')->unsigned()->change(); - }); - } } diff --git a/database/migrations/2019_01_11_001150_alter_rss_table.php b/database/migrations/2019_01_11_001150_alter_rss_table.php index 364ee6b34f..7177341244 100644 --- a/database/migrations/2019_01_11_001150_alter_rss_table.php +++ b/database/migrations/2019_01_11_001150_alter_rss_table.php @@ -38,21 +38,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('rss'); - Schema::create('rss', function (Blueprint $table) { - $table->integer('id', true); - $table->integer('userID')->index('userID'); - $table->string('category')->nullable(); - $table->timestamps(); - $table->foreign('userID', 'rss_user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('RESTRICT'); - }); - } } diff --git a/database/migrations/2019_01_17_213210_add_torrent_filters_to_users_table.php b/database/migrations/2019_01_17_213210_add_torrent_filters_to_users_table.php index e4d85b4852..696c23a800 100644 --- a/database/migrations/2019_01_17_213210_add_torrent_filters_to_users_table.php +++ b/database/migrations/2019_01_17_213210_add_torrent_filters_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('torrent_filters')->default(0)->index()->after('torrent_layout'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('torrent_filters'); - }); - } } diff --git a/database/migrations/2019_01_23_034500_alter_bon_transactions_table.php b/database/migrations/2019_01_23_034500_alter_bon_transactions_table.php index cf600ad478..88070e1969 100644 --- a/database/migrations/2019_01_23_034500_alter_bon_transactions_table.php +++ b/database/migrations/2019_01_23_034500_alter_bon_transactions_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('post_id')->nullable()->index()->after('torrent_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('bon_transactions', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_01_24_033802_rename_topic_subscriptions_table.php b/database/migrations/2019_01_24_033802_rename_topic_subscriptions_table.php index 17cdb1d0f7..e776552dbf 100644 --- a/database/migrations/2019_01_24_033802_rename_topic_subscriptions_table.php +++ b/database/migrations/2019_01_24_033802_rename_topic_subscriptions_table.php @@ -34,16 +34,4 @@ public function up() $table->index('topic_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('topic_subscriptions', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_01_24_190220_alter_torrents_table.php b/database/migrations/2019_01_24_190220_alter_torrents_table.php index 1409728703..e346b0f7ed 100644 --- a/database/migrations/2019_01_24_190220_alter_torrents_table.php +++ b/database/migrations/2019_01_24_190220_alter_torrents_table.php @@ -28,16 +28,4 @@ public function up() $table->string('igdb')->default(0)->index()->after('mal'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_01_27_005216_create_user_privacy_table.php b/database/migrations/2019_01_27_005216_create_user_privacy_table.php index 3960db4e68..330bc0b57d 100644 --- a/database/migrations/2019_01_27_005216_create_user_privacy_table.php +++ b/database/migrations/2019_01_27_005216_create_user_privacy_table.php @@ -63,14 +63,4 @@ public function up() $table->foreign('user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('user_privacy'); - } } diff --git a/database/migrations/2019_01_28_031842_alter_groups_table.php b/database/migrations/2019_01_28_031842_alter_groups_table.php index 41f094b4d6..b7ff0977ad 100644 --- a/database/migrations/2019_01_28_031842_alter_groups_table.php +++ b/database/migrations/2019_01_28_031842_alter_groups_table.php @@ -44,16 +44,4 @@ public function up() DB::table('groups')->whereRaw(' id=15')->update(['level' => 20]); DB::table('groups')->whereRaw(' id=2')->update(['level' => 10]); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('groups', function (Blueprint $table) { - $table->dropColumn('level'); - }); - } } diff --git a/database/migrations/2019_01_28_225127_create_user_notifications_table.php b/database/migrations/2019_01_28_225127_create_user_notifications_table.php index 68f3d91a74..69a6dcda08 100644 --- a/database/migrations/2019_01_28_225127_create_user_notifications_table.php +++ b/database/migrations/2019_01_28_225127_create_user_notifications_table.php @@ -59,14 +59,4 @@ public function up() $table->foreign('user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('user_notifications'); - } } diff --git a/database/migrations/2019_01_29_054104_alter_users_tables.php b/database/migrations/2019_01_29_054104_alter_users_tables.php index ed098cce4f..ac7709df88 100644 --- a/database/migrations/2019_01_29_054104_alter_users_tables.php +++ b/database/migrations/2019_01_29_054104_alter_users_tables.php @@ -28,16 +28,4 @@ public function up() $table->boolean('block_notifications')->default(0)->index()->after('private_profile'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_02_04_041644_create_user_echoes_table.php b/database/migrations/2019_02_04_041644_create_user_echoes_table.php index 15f702b2e6..8b1442a759 100644 --- a/database/migrations/2019_02_04_041644_create_user_echoes_table.php +++ b/database/migrations/2019_02_04_041644_create_user_echoes_table.php @@ -34,14 +34,4 @@ public function up() $table->foreign('user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('user_echoes'); - } } diff --git a/database/migrations/2019_02_05_220444_create_bots_table.php b/database/migrations/2019_02_05_220444_create_bots_table.php index ff594ea1d3..1ce14e44e8 100644 --- a/database/migrations/2019_02_05_220444_create_bots_table.php +++ b/database/migrations/2019_02_05_220444_create_bots_table.php @@ -51,14 +51,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('bots'); - } } diff --git a/database/migrations/2019_02_06_005248_add_bot_id_to_messages_table.php b/database/migrations/2019_02_06_005248_add_bot_id_to_messages_table.php index 7ef2c0930d..4c810e252d 100644 --- a/database/migrations/2019_02_06_005248_add_bot_id_to_messages_table.php +++ b/database/migrations/2019_02_06_005248_add_bot_id_to_messages_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('bot_id')->after('receiver_id')->unsigned()->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('messages', function (Blueprint $table) { - $table->dropColumn('bot_id'); - }); - } } diff --git a/database/migrations/2019_02_06_075938_create_bot_transactions_table.php b/database/migrations/2019_02_06_075938_create_bot_transactions_table.php index 89ea0a245a..98e5b6fa35 100644 --- a/database/migrations/2019_02_06_075938_create_bot_transactions_table.php +++ b/database/migrations/2019_02_06_075938_create_bot_transactions_table.php @@ -38,16 +38,4 @@ public function up() $table->foreign('bot_id')->references('id')->on('bots')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('bot_transactions', function (Blueprint $table) { - $table->dropIfExists('bot_transactions'); - }); - } } diff --git a/database/migrations/2019_02_07_022409_create_user_audibles_table.php b/database/migrations/2019_02_07_022409_create_user_audibles_table.php index 0e00e63a54..f42fda82e4 100644 --- a/database/migrations/2019_02_07_022409_create_user_audibles_table.php +++ b/database/migrations/2019_02_07_022409_create_user_audibles_table.php @@ -35,14 +35,4 @@ public function up() $table->foreign('user_id')->references('id')->on('users')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('user_audibles'); - } } diff --git a/database/migrations/2019_02_10_010213_fix_chat_related_tables.php b/database/migrations/2019_02_10_010213_fix_chat_related_tables.php index 674150238e..9dec7791e9 100644 --- a/database/migrations/2019_02_10_010213_fix_chat_related_tables.php +++ b/database/migrations/2019_02_10_010213_fix_chat_related_tables.php @@ -35,16 +35,4 @@ public function up() $table->integer('target_id')->change(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('user_echoes', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_02_21_133950_add_is_owner_to_groups_table.php b/database/migrations/2019_02_21_133950_add_is_owner_to_groups_table.php index 9b8f4e99d8..cca457310c 100644 --- a/database/migrations/2019_02_21_133950_add_is_owner_to_groups_table.php +++ b/database/migrations/2019_02_21_133950_add_is_owner_to_groups_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('is_owner')->after('is_internal')->default(0); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('groups', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_02_21_221047_add_request_to_user_privacy_table.php b/database/migrations/2019_02_21_221047_add_request_to_user_privacy_table.php index 0667cb0b7c..547546b955 100644 --- a/database/migrations/2019_02_21_221047_add_request_to_user_privacy_table.php +++ b/database/migrations/2019_02_21_221047_add_request_to_user_privacy_table.php @@ -33,16 +33,4 @@ public function up() $table->boolean('show_requested')->index()->default(1)->after('show_rank'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('user_privacy', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_03_20_214306_alter_users_table.php b/database/migrations/2019_03_20_214306_alter_users_table.php index 6f7abd3eb9..a6552e8ed9 100644 --- a/database/migrations/2019_03_20_214306_alter_users_table.php +++ b/database/migrations/2019_03_20_214306_alter_users_table.php @@ -28,16 +28,4 @@ public function up() $table->boolean('read_rules')->default(0)->index()->after('ratings'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_06_17_172554_add_last_action_to_users_table.php b/database/migrations/2019_06_17_172554_add_last_action_to_users_table.php index 6c5df7c8cf..0a84f15955 100644 --- a/database/migrations/2019_06_17_172554_add_last_action_to_users_table.php +++ b/database/migrations/2019_06_17_172554_add_last_action_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->dateTime('last_action')->after('last_login')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('last_action'); - }); - } } diff --git a/database/migrations/2019_07_09_225645_add_release_year_to_torrents_table.php b/database/migrations/2019_07_09_225645_add_release_year_to_torrents_table.php index 9b453c9a57..a977e6c6de 100644 --- a/database/migrations/2019_07_09_225645_add_release_year_to_torrents_table.php +++ b/database/migrations/2019_07_09_225645_add_release_year_to_torrents_table.php @@ -28,16 +28,4 @@ public function up() $table->year('release_year')->nullable()->index(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - $table->dropColumn('release_year'); - }); - } } diff --git a/database/migrations/2019_07_30_210848_create_tv_table.php b/database/migrations/2019_07_30_210848_create_tv_table.php index 9528c1897b..ef4dd5b05f 100644 --- a/database/migrations/2019_07_30_210848_create_tv_table.php +++ b/database/migrations/2019_07_30_210848_create_tv_table.php @@ -44,14 +44,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('tv'); - } } diff --git a/database/migrations/2019_07_30_210849_create_seasons_table.php b/database/migrations/2019_07_30_210849_create_seasons_table.php index 438059421f..8b6b826a21 100644 --- a/database/migrations/2019_07_30_210849_create_seasons_table.php +++ b/database/migrations/2019_07_30_210849_create_seasons_table.php @@ -24,14 +24,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('seasons'); - } } diff --git a/database/migrations/2019_07_30_210850_create_cast_table.php b/database/migrations/2019_07_30_210850_create_cast_table.php index e688f1bbdf..d08b0a0f80 100644 --- a/database/migrations/2019_07_30_210850_create_cast_table.php +++ b/database/migrations/2019_07_30_210850_create_cast_table.php @@ -23,14 +23,4 @@ public function up() $table->string('still')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('person'); - } } diff --git a/database/migrations/2019_07_30_210850_create_collection_table.php b/database/migrations/2019_07_30_210850_create_collection_table.php index 46c2988213..028f88d425 100644 --- a/database/migrations/2019_07_30_210850_create_collection_table.php +++ b/database/migrations/2019_07_30_210850_create_collection_table.php @@ -24,14 +24,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('collection'); - } } diff --git a/database/migrations/2019_07_30_210850_create_companies_table.php b/database/migrations/2019_07_30_210850_create_companies_table.php index 8ec46e4d4e..f4d583f6ac 100644 --- a/database/migrations/2019_07_30_210850_create_companies_table.php +++ b/database/migrations/2019_07_30_210850_create_companies_table.php @@ -23,14 +23,4 @@ public function up() $table->string('origin_country')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('companies'); - } } diff --git a/database/migrations/2019_07_30_210850_create_episodes_table.php b/database/migrations/2019_07_30_210850_create_episodes_table.php index fb2bc19b19..11ff2a7ef6 100644 --- a/database/migrations/2019_07_30_210850_create_episodes_table.php +++ b/database/migrations/2019_07_30_210850_create_episodes_table.php @@ -30,14 +30,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('episodes'); - } } diff --git a/database/migrations/2019_07_30_210850_create_genres_table.php b/database/migrations/2019_07_30_210850_create_genres_table.php index 68957aecec..e07d9354a7 100644 --- a/database/migrations/2019_07_30_210850_create_genres_table.php +++ b/database/migrations/2019_07_30_210850_create_genres_table.php @@ -18,14 +18,4 @@ public function up() $table->string('name')->index(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('genres'); - } } diff --git a/database/migrations/2019_07_30_210850_create_movie_table.php b/database/migrations/2019_07_30_210850_create_movie_table.php index cba33bfad2..ee694577d2 100644 --- a/database/migrations/2019_07_30_210850_create_movie_table.php +++ b/database/migrations/2019_07_30_210850_create_movie_table.php @@ -38,14 +38,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('movie'); - } } diff --git a/database/migrations/2019_07_30_210850_create_networks_table.php b/database/migrations/2019_07_30_210850_create_networks_table.php index f2706befe8..51b7f5efa4 100644 --- a/database/migrations/2019_07_30_210850_create_networks_table.php +++ b/database/migrations/2019_07_30_210850_create_networks_table.php @@ -23,14 +23,4 @@ public function up() $table->string('origin_country')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('networks'); - } } diff --git a/database/migrations/2019_07_30_210850_create_person_table.php b/database/migrations/2019_07_30_210850_create_person_table.php index d13420005f..eb40deaf32 100644 --- a/database/migrations/2019_07_30_210850_create_person_table.php +++ b/database/migrations/2019_07_30_210850_create_person_table.php @@ -31,14 +31,4 @@ public function up() $table->string('homepage')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('person'); - } } diff --git a/database/migrations/2019_07_31_024816_alter_requests_table.php b/database/migrations/2019_07_31_024816_alter_requests_table.php index a2a437f953..6169332caf 100644 --- a/database/migrations/2019_07_31_024816_alter_requests_table.php +++ b/database/migrations/2019_07_31_024816_alter_requests_table.php @@ -28,16 +28,4 @@ public function up() $table->string('igdb')->default(0)->index()->after('mal'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2019_07_31_210850_create_cast_episode_table.php b/database/migrations/2019_07_31_210850_create_cast_episode_table.php index 5b261a708e..d0c99b5d2d 100644 --- a/database/migrations/2019_07_31_210850_create_cast_episode_table.php +++ b/database/migrations/2019_07_31_210850_create_cast_episode_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['cast_id', 'episode_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('cast_episode'); - } } diff --git a/database/migrations/2019_07_31_210850_create_cast_movie_table.php b/database/migrations/2019_07_31_210850_create_cast_movie_table.php index dd2d410c4f..7c9dc39fc1 100644 --- a/database/migrations/2019_07_31_210850_create_cast_movie_table.php +++ b/database/migrations/2019_07_31_210850_create_cast_movie_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['cast_id', 'movie_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('cast_movie'); - } } diff --git a/database/migrations/2019_07_31_210850_create_cast_season_table.php b/database/migrations/2019_07_31_210850_create_cast_season_table.php index e20ad72258..f1341f4ebc 100644 --- a/database/migrations/2019_07_31_210850_create_cast_season_table.php +++ b/database/migrations/2019_07_31_210850_create_cast_season_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['cast_id', 'season_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('cast_season'); - } } diff --git a/database/migrations/2019_07_31_210850_create_cast_tv_table.php b/database/migrations/2019_07_31_210850_create_cast_tv_table.php index 624b460f30..f881fb6140 100644 --- a/database/migrations/2019_07_31_210850_create_cast_tv_table.php +++ b/database/migrations/2019_07_31_210850_create_cast_tv_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['cast_id', 'tv_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('cast_tv'); - } } diff --git a/database/migrations/2019_07_31_210850_create_company_tv_table.php b/database/migrations/2019_07_31_210850_create_company_tv_table.php index b05f69cf72..a900d3d57d 100644 --- a/database/migrations/2019_07_31_210850_create_company_tv_table.php +++ b/database/migrations/2019_07_31_210850_create_company_tv_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['company_id', 'tv_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('company_tv'); - } } diff --git a/database/migrations/2019_07_31_210850_create_crew_episode_table.php b/database/migrations/2019_07_31_210850_create_crew_episode_table.php index 2858f4050d..3f8d639566 100644 --- a/database/migrations/2019_07_31_210850_create_crew_episode_table.php +++ b/database/migrations/2019_07_31_210850_create_crew_episode_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['episode_id', 'person_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('crew_episode'); - } } diff --git a/database/migrations/2019_07_31_210850_create_crew_movie_table.php b/database/migrations/2019_07_31_210850_create_crew_movie_table.php index d301208719..520a0373e5 100644 --- a/database/migrations/2019_07_31_210850_create_crew_movie_table.php +++ b/database/migrations/2019_07_31_210850_create_crew_movie_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['movie_id', 'person_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('crew_movie'); - } } diff --git a/database/migrations/2019_07_31_210850_create_crew_season_table.php b/database/migrations/2019_07_31_210850_create_crew_season_table.php index 9073742082..6eb566768c 100644 --- a/database/migrations/2019_07_31_210850_create_crew_season_table.php +++ b/database/migrations/2019_07_31_210850_create_crew_season_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['person_id', 'season_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('crew_season'); - } } diff --git a/database/migrations/2019_07_31_210850_create_crew_tv_table.php b/database/migrations/2019_07_31_210850_create_crew_tv_table.php index 471fd9231d..7972ed3f32 100644 --- a/database/migrations/2019_07_31_210850_create_crew_tv_table.php +++ b/database/migrations/2019_07_31_210850_create_crew_tv_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['person_id', 'tv_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('crew_tv'); - } } diff --git a/database/migrations/2019_07_31_210850_create_episode_guest_star_table.php b/database/migrations/2019_07_31_210850_create_episode_guest_star_table.php index 23cc9026ed..220a0b3924 100644 --- a/database/migrations/2019_07_31_210850_create_episode_guest_star_table.php +++ b/database/migrations/2019_07_31_210850_create_episode_guest_star_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['episode_id', 'person_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('episode_guest_star'); - } } diff --git a/database/migrations/2019_07_31_210850_create_episode_person_table.php b/database/migrations/2019_07_31_210850_create_episode_person_table.php index dd53c9f688..9b0ed4ebd9 100644 --- a/database/migrations/2019_07_31_210850_create_episode_person_table.php +++ b/database/migrations/2019_07_31_210850_create_episode_person_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['episode_id', 'person_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('episode_person'); - } } diff --git a/database/migrations/2019_07_31_210850_create_genre_tv_table.php b/database/migrations/2019_07_31_210850_create_genre_tv_table.php index c3468a2041..db0f85a069 100644 --- a/database/migrations/2019_07_31_210850_create_genre_tv_table.php +++ b/database/migrations/2019_07_31_210850_create_genre_tv_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['genre_id', 'tv_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('genre_tv'); - } } diff --git a/database/migrations/2019_07_31_210850_create_network_tv_table.php b/database/migrations/2019_07_31_210850_create_network_tv_table.php index ab74a2ad5a..d27b9b552e 100644 --- a/database/migrations/2019_07_31_210850_create_network_tv_table.php +++ b/database/migrations/2019_07_31_210850_create_network_tv_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['network_id', 'tv_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('network_tv'); - } } diff --git a/database/migrations/2019_07_31_210850_create_person_movie_table.php b/database/migrations/2019_07_31_210850_create_person_movie_table.php index 228400c352..01afe952ee 100644 --- a/database/migrations/2019_07_31_210850_create_person_movie_table.php +++ b/database/migrations/2019_07_31_210850_create_person_movie_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['person_id', 'movie_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('person_movie'); - } } diff --git a/database/migrations/2019_07_31_210850_create_person_tv_table.php b/database/migrations/2019_07_31_210850_create_person_tv_table.php index 9274ea79fe..d514000a00 100644 --- a/database/migrations/2019_07_31_210850_create_person_tv_table.php +++ b/database/migrations/2019_07_31_210850_create_person_tv_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['person_id', 'tv_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('person_tv'); - } } diff --git a/database/migrations/2019_07_31_210851_create_collection_movie_table.php b/database/migrations/2019_07_31_210851_create_collection_movie_table.php index 3d740607d9..2c3b21ca9d 100644 --- a/database/migrations/2019_07_31_210851_create_collection_movie_table.php +++ b/database/migrations/2019_07_31_210851_create_collection_movie_table.php @@ -20,14 +20,4 @@ public function up() $table->primary(['collection_id', 'movie_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('collection_movie'); - } } diff --git a/database/migrations/2019_07_31_210851_create_company_movie_table.php b/database/migrations/2019_07_31_210851_create_company_movie_table.php index e3174dc4bb..f6d4134c68 100644 --- a/database/migrations/2019_07_31_210851_create_company_movie_table.php +++ b/database/migrations/2019_07_31_210851_create_company_movie_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['company_id', 'movie_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('company_movie'); - } } diff --git a/database/migrations/2019_07_31_210851_create_genre_movie_table.php b/database/migrations/2019_07_31_210851_create_genre_movie_table.php index 9d513a4d62..790474fcdb 100644 --- a/database/migrations/2019_07_31_210851_create_genre_movie_table.php +++ b/database/migrations/2019_07_31_210851_create_genre_movie_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['genre_id', 'movie_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('genre_movie'); - } } diff --git a/database/migrations/2019_07_31_210851_create_person_season_table.php b/database/migrations/2019_07_31_210851_create_person_season_table.php index c171c96917..a9539b690f 100644 --- a/database/migrations/2019_07_31_210851_create_person_season_table.php +++ b/database/migrations/2019_07_31_210851_create_person_season_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['person_id', 'season_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('person_season'); - } } diff --git a/database/migrations/2019_09_22_204439_create_playlists_table.php b/database/migrations/2019_09_22_204439_create_playlists_table.php index 4b2ff3877d..68ba1bc472 100644 --- a/database/migrations/2019_09_22_204439_create_playlists_table.php +++ b/database/migrations/2019_09_22_204439_create_playlists_table.php @@ -37,14 +37,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('playlists'); - } } diff --git a/database/migrations/2019_09_22_204613_create_playlist_torrents_table.php b/database/migrations/2019_09_22_204613_create_playlist_torrents_table.php index 4205696d3b..be925688ab 100644 --- a/database/migrations/2019_09_22_204613_create_playlist_torrents_table.php +++ b/database/migrations/2019_09_22_204613_create_playlist_torrents_table.php @@ -34,14 +34,4 @@ public function up() $table->unique(['playlist_id', 'torrent_id', 'tmdb_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('playlist_torrents'); - } } diff --git a/database/migrations/2019_09_24_160123_alter_comments_table.php b/database/migrations/2019_09_24_160123_alter_comments_table.php index 2ebd699f98..592c664493 100644 --- a/database/migrations/2019_09_24_160123_alter_comments_table.php +++ b/database/migrations/2019_09_24_160123_alter_comments_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('playlist_id')->nullable()->index()->after('requests_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('comments', function (Blueprint $table) { - $table->dropColumn('playlist_id'); - }); - } } diff --git a/database/migrations/2019_11_05_233558_create_audits_table.php b/database/migrations/2019_11_05_233558_create_audits_table.php index e90e06f889..b7f153b28e 100644 --- a/database/migrations/2019_11_05_233558_create_audits_table.php +++ b/database/migrations/2019_11_05_233558_create_audits_table.php @@ -36,24 +36,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('audits'); - Schema::create('log_activities', function (Blueprint $table) { - $table->increments('id'); - $table->string('subject'); - $table->string('url'); - $table->string('method'); - $table->string('ip'); - $table->string('agent')->nullable(); - $table->integer('user_id')->nullable(); - $table->timestamps(); - }); - } } diff --git a/database/migrations/2019_11_27_025048_add_api_token_field_users.php b/database/migrations/2019_11_27_025048_add_api_token_field_users.php index 3cb10dc4be..0e63dfccc3 100644 --- a/database/migrations/2019_11_27_025048_add_api_token_field_users.php +++ b/database/migrations/2019_11_27_025048_add_api_token_field_users.php @@ -31,16 +31,4 @@ public function up() ->default(null); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('api_token'); - }); - } } diff --git a/database/migrations/2019_12_17_030908_create_keywords_table.php b/database/migrations/2019_12_17_030908_create_keywords_table.php index 848aab3169..d8dfa2b57e 100644 --- a/database/migrations/2019_12_17_030908_create_keywords_table.php +++ b/database/migrations/2019_12_17_030908_create_keywords_table.php @@ -21,14 +21,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('keywords'); - } } diff --git a/database/migrations/2020_01_02_203432_bdinfo_to_torrents_table.php b/database/migrations/2020_01_02_203432_bdinfo_to_torrents_table.php index 1e632b247f..76886d2984 100644 --- a/database/migrations/2020_01_02_203432_bdinfo_to_torrents_table.php +++ b/database/migrations/2020_01_02_203432_bdinfo_to_torrents_table.php @@ -17,16 +17,4 @@ public function up() $table->longText('bdinfo')->nullable()->after('mediainfo'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2020_02_14_185120_add_foreign_key_to_options_table.php b/database/migrations/2020_02_14_185120_add_foreign_key_to_options_table.php index b944d7bd6d..6242f7dc47 100644 --- a/database/migrations/2020_02_14_185120_add_foreign_key_to_options_table.php +++ b/database/migrations/2020_02_14_185120_add_foreign_key_to_options_table.php @@ -17,16 +17,4 @@ public function up() $table->foreign('poll_id', 'fk_options_poll')->references('id')->on('polls')->onUpdate('RESTRICT')->onDelete('CASCADE'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('options', function (Blueprint $table) { - $table->dropForeign('fk_options_poll'); - }); - } } diff --git a/database/migrations/2020_02_14_202935_drop_ip_checking_in_polls_table.php b/database/migrations/2020_02_14_202935_drop_ip_checking_in_polls_table.php index 845248c0d4..17c8d91699 100644 --- a/database/migrations/2020_02_14_202935_drop_ip_checking_in_polls_table.php +++ b/database/migrations/2020_02_14_202935_drop_ip_checking_in_polls_table.php @@ -17,16 +17,4 @@ public function up() $table->dropColumn('ip_checking'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('polls', function (Blueprint $table) { - $table->boolean('ip_checking')->default(0); - }); - } } diff --git a/database/migrations/2020_02_14_203001_drop_ip_address_in_voters_table.php b/database/migrations/2020_02_14_203001_drop_ip_address_in_voters_table.php index b95f715790..05959e572c 100644 --- a/database/migrations/2020_02_14_203001_drop_ip_address_in_voters_table.php +++ b/database/migrations/2020_02_14_203001_drop_ip_address_in_voters_table.php @@ -17,16 +17,4 @@ public function up() $table->dropColumn('ip_address'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('voters', function (Blueprint $table) { - $table->string('ip_address')->default('dbRollback'); - }); - } } diff --git a/database/migrations/2020_03_02_031656_update_comments_table.php b/database/migrations/2020_03_02_031656_update_comments_table.php index a490ae32e7..b0890daf89 100644 --- a/database/migrations/2020_03_02_031656_update_comments_table.php +++ b/database/migrations/2020_03_02_031656_update_comments_table.php @@ -17,16 +17,4 @@ public function up() $table->integer('collection_id')->nullable()->index()->after('requests_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('comments', function (Blueprint $table) { - $table->dropColumn('collection_id'); - }); - } } diff --git a/database/migrations/2020_03_26_030235_create_subtitles_table.php b/database/migrations/2020_03_26_030235_create_subtitles_table.php index 52eed042be..141fce9cc7 100644 --- a/database/migrations/2020_03_26_030235_create_subtitles_table.php +++ b/database/migrations/2020_03_26_030235_create_subtitles_table.php @@ -43,14 +43,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('subtitles'); - } } diff --git a/database/migrations/2020_03_26_034620_create_media_languages_table.php b/database/migrations/2020_03_26_034620_create_media_languages_table.php index 5e93e346cb..55bb948855 100644 --- a/database/migrations/2020_03_26_034620_create_media_languages_table.php +++ b/database/migrations/2020_03_26_034620_create_media_languages_table.php @@ -31,14 +31,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('media_languages'); - } } diff --git a/database/migrations/2020_03_31_201107_add_is_double_upload_to_groups_table.php b/database/migrations/2020_03_31_201107_add_is_double_upload_to_groups_table.php index 2575508ff3..07e6ed147a 100644 --- a/database/migrations/2020_03_31_201107_add_is_double_upload_to_groups_table.php +++ b/database/migrations/2020_03_31_201107_add_is_double_upload_to_groups_table.php @@ -17,16 +17,4 @@ public function up() $table->boolean('is_double_upload')->after('is_freeleech')->default(0); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('groups', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2020_05_19_023939_add_type_id_to_torrents_table.php b/database/migrations/2020_05_19_023939_add_type_id_to_torrents_table.php index 9c061ed8d0..1b5a7c6565 100644 --- a/database/migrations/2020_05_19_023939_add_type_id_to_torrents_table.php +++ b/database/migrations/2020_05_19_023939_add_type_id_to_torrents_table.php @@ -40,16 +40,4 @@ public function up() $table->dropColumn('type'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2020_05_26_053632_add_type_id_to_requests_table.php b/database/migrations/2020_05_26_053632_add_type_id_to_requests_table.php index 7bf37b680b..3915290f77 100644 --- a/database/migrations/2020_05_26_053632_add_type_id_to_requests_table.php +++ b/database/migrations/2020_05_26_053632_add_type_id_to_requests_table.php @@ -40,16 +40,4 @@ public function up() $table->dropColumn('type'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('requests', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2020_06_06_185230_create_resolutions_table.php b/database/migrations/2020_06_06_185230_create_resolutions_table.php index 4d25957055..d95be37756 100644 --- a/database/migrations/2020_06_06_185230_create_resolutions_table.php +++ b/database/migrations/2020_06_06_185230_create_resolutions_table.php @@ -31,14 +31,4 @@ public function up() $table->integer('position'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('resolutions'); - } } diff --git a/database/migrations/2020_06_07_023938_add_resolution_id_to_torrents_table.php b/database/migrations/2020_06_07_023938_add_resolution_id_to_torrents_table.php index fd3c02f535..528a74d9e5 100644 --- a/database/migrations/2020_06_07_023938_add_resolution_id_to_torrents_table.php +++ b/database/migrations/2020_06_07_023938_add_resolution_id_to_torrents_table.php @@ -42,16 +42,4 @@ public function up() }); } } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2020_06_07_054632_add_resolution_id_to_requests_table.php b/database/migrations/2020_06_07_054632_add_resolution_id_to_requests_table.php index 961778b263..f30e70873a 100644 --- a/database/migrations/2020_06_07_054632_add_resolution_id_to_requests_table.php +++ b/database/migrations/2020_06_07_054632_add_resolution_id_to_requests_table.php @@ -28,16 +28,4 @@ public function up() $table->integer('resolution_id')->nullable()->index(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('requests', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2020_06_10_014256_unique_groups.php b/database/migrations/2020_06_10_014256_unique_groups.php index 570dee5051..9b9a311d63 100644 --- a/database/migrations/2020_06_10_014256_unique_groups.php +++ b/database/migrations/2020_06_10_014256_unique_groups.php @@ -17,16 +17,4 @@ public function up() $table->unique('slug'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('groups', function (Blueprint $table) { - $table->dropUnique('groups_slug_unique'); - }); - } } diff --git a/database/migrations/2020_06_18_115296_add_bumped_at_to_torrents_table.php b/database/migrations/2020_06_18_115296_add_bumped_at_to_torrents_table.php index a502f0528f..626fad79b2 100644 --- a/database/migrations/2020_06_18_115296_add_bumped_at_to_torrents_table.php +++ b/database/migrations/2020_06_18_115296_add_bumped_at_to_torrents_table.php @@ -17,16 +17,4 @@ public function up() $table->dateTime('bumped_at')->nullable()->after('updated_at'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - $table->dateTime('bumped_at')->nullable(); - }); - } } diff --git a/database/migrations/2020_07_07_202935_drop_tags_tables.php b/database/migrations/2020_07_07_202935_drop_tags_tables.php index 08aba75614..83fa08115c 100644 --- a/database/migrations/2020_07_07_202935_drop_tags_tables.php +++ b/database/migrations/2020_07_07_202935_drop_tags_tables.php @@ -15,14 +15,4 @@ public function up() Schema::dropIfExists('tags'); Schema::dropIfExists('tag_torrent'); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - // - } } diff --git a/database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php b/database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php index 5f73512c0f..b2eae2e8ed 100644 --- a/database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php +++ b/database/migrations/2020_10_06_143759_add_uuid_to_failed_jobs_table.php @@ -17,16 +17,4 @@ public function up() $table->string('uuid')->after('id')->nullable()->unique(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('failed_jobs', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2020_10_07_012129_create_job_batches_table.php b/database/migrations/2020_10_07_012129_create_job_batches_table.php index 85ccbf89a7..ab4840874b 100644 --- a/database/migrations/2020_10_07_012129_create_job_batches_table.php +++ b/database/migrations/2020_10_07_012129_create_job_batches_table.php @@ -26,14 +26,4 @@ public function up() $table->integer('finished_at')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('job_batches'); - } } diff --git a/database/migrations/2020_10_18_235628_create_genre_torrent_table.php b/database/migrations/2020_10_18_235628_create_genre_torrent_table.php index ef9c99f9b9..2de166d428 100644 --- a/database/migrations/2020_10_18_235628_create_genre_torrent_table.php +++ b/database/migrations/2020_10_18_235628_create_genre_torrent_table.php @@ -19,14 +19,4 @@ public function up() $table->primary(['genre_id', 'torrent_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('genre_torrent'); - } } diff --git a/database/migrations/2020_11_01_165838_update_wishes_table.php b/database/migrations/2020_11_01_165838_update_wishes_table.php index 558928ef30..30b75a5418 100644 --- a/database/migrations/2020_11_01_165838_update_wishes_table.php +++ b/database/migrations/2020_11_01_165838_update_wishes_table.php @@ -17,16 +17,4 @@ public function up() $table->renameColumn('imdb', 'tmdb'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('wishes', function (Blueprint $table) { - $table->renameColumn('tmdb', 'imdb'); - }); - } } diff --git a/database/migrations/2021_01_02_230512_update_users_table.php b/database/migrations/2021_01_02_230512_update_users_table.php index 6003f31848..488b81943d 100644 --- a/database/migrations/2021_01_02_230512_update_users_table.php +++ b/database/migrations/2021_01_02_230512_update_users_table.php @@ -19,18 +19,4 @@ public function up() $table->unique('rsskey'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropUnique('users_username_unique'); - $table->dropUnique('users_passkey_unique'); - $table->dropUnique('users_rsskey_unique'); - }); - } } diff --git a/database/migrations/2021_01_06_360572_update_nfo_column_on_torrents_table.php b/database/migrations/2021_01_06_360572_update_nfo_column_on_torrents_table.php index 414a0b9152..97f1dabc63 100644 --- a/database/migrations/2021_01_06_360572_update_nfo_column_on_torrents_table.php +++ b/database/migrations/2021_01_06_360572_update_nfo_column_on_torrents_table.php @@ -17,14 +17,4 @@ public function up() $table->binary('nfo')->change(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - // - } } diff --git a/database/migrations/2021_01_18_191121_create_tickets_table.php b/database/migrations/2021_01_18_191121_create_tickets_table.php index 29ca1a5a27..14389ffa23 100644 --- a/database/migrations/2021_01_18_191121_create_tickets_table.php +++ b/database/migrations/2021_01_18_191121_create_tickets_table.php @@ -27,14 +27,4 @@ public function up() $table->softDeletes(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('tickets'); - } } diff --git a/database/migrations/2021_01_18_191321_create_ticket_categories_table.php b/database/migrations/2021_01_18_191321_create_ticket_categories_table.php index d6db022a1c..b809af8be5 100644 --- a/database/migrations/2021_01_18_191321_create_ticket_categories_table.php +++ b/database/migrations/2021_01_18_191321_create_ticket_categories_table.php @@ -20,14 +20,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('ticket_categories'); - } } diff --git a/database/migrations/2021_01_18_191336_create_ticket_priorities_table.php b/database/migrations/2021_01_18_191336_create_ticket_priorities_table.php index 4991fa3d36..1d20b4208f 100644 --- a/database/migrations/2021_01_18_191336_create_ticket_priorities_table.php +++ b/database/migrations/2021_01_18_191336_create_ticket_priorities_table.php @@ -20,14 +20,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('ticket_priorities'); - } } diff --git a/database/migrations/2021_01_18_191357_create_ticket_attachments_table.php b/database/migrations/2021_01_18_191357_create_ticket_attachments_table.php index 2631bf1d21..6c20dcc678 100644 --- a/database/migrations/2021_01_18_191357_create_ticket_attachments_table.php +++ b/database/migrations/2021_01_18_191357_create_ticket_attachments_table.php @@ -24,14 +24,4 @@ public function up() $table->softDeletes(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('ticket_attachments'); - } } diff --git a/database/migrations/2021_01_18_191596_add_ticket_id_to_comments_table.php b/database/migrations/2021_01_18_191596_add_ticket_id_to_comments_table.php index 4b90ab3a44..573f6d346d 100644 --- a/database/migrations/2021_01_18_191596_add_ticket_id_to_comments_table.php +++ b/database/migrations/2021_01_18_191596_add_ticket_id_to_comments_table.php @@ -17,16 +17,4 @@ public function up() $table->integer('ticket_id')->nullable()->index()->after('playlist_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('comments', function (Blueprint $table) { - $table->dropColumn('ticket_id'); - }); - } } diff --git a/database/migrations/2021_03_04_042851_create_watchlists_table.php b/database/migrations/2021_03_04_042851_create_watchlists_table.php index 819b8d1815..93f095a9fd 100644 --- a/database/migrations/2021_03_04_042851_create_watchlists_table.php +++ b/database/migrations/2021_03_04_042851_create_watchlists_table.php @@ -21,14 +21,4 @@ public function up() $table->timestamps(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('watchlists'); - } } diff --git a/database/migrations/2021_03_11_024605_add_personal_release_to_torrents_table.php b/database/migrations/2021_03_11_024605_add_personal_release_to_torrents_table.php index 86c90d5eaa..d7b8730bc6 100644 --- a/database/migrations/2021_03_11_024605_add_personal_release_to_torrents_table.php +++ b/database/migrations/2021_03_11_024605_add_personal_release_to_torrents_table.php @@ -17,16 +17,4 @@ public function up() $table->integer('personal_release')->index(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('torrents', function (Blueprint $table) { - $table->dropColumn('personal_release'); - }); - } } diff --git a/database/migrations/2021_03_14_093812_add_read_column_tickets_table.php b/database/migrations/2021_03_14_093812_add_read_column_tickets_table.php index 4356e0b8d2..d7c6cbbe75 100644 --- a/database/migrations/2021_03_14_093812_add_read_column_tickets_table.php +++ b/database/migrations/2021_03_14_093812_add_read_column_tickets_table.php @@ -18,17 +18,4 @@ public function up() $table->tinyInteger('staff_read')->nullable()->after('user_read'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('comments', function (Blueprint $table) { - $table->dropColumn('user_read'); - $table->dropColumn('staff_read'); - }); - } } diff --git a/database/migrations/2021_04_13_200421_update_about_column_on_users_table.php b/database/migrations/2021_04_13_200421_update_about_column_on_users_table.php index 0196aadb6d..f822009a03 100644 --- a/database/migrations/2021_04_13_200421_update_about_column_on_users_table.php +++ b/database/migrations/2021_04_13_200421_update_about_column_on_users_table.php @@ -17,14 +17,4 @@ public function up() $table->mediumText('about')->nullable()->change(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - // - } } diff --git a/database/migrations/2021_05_26_215430_create_recommendations_table.php b/database/migrations/2021_05_26_215430_create_recommendations_table.php index 054e819941..b942acce14 100644 --- a/database/migrations/2021_05_26_215430_create_recommendations_table.php +++ b/database/migrations/2021_05_26_215430_create_recommendations_table.php @@ -37,14 +37,4 @@ public function up() $table->unique(['tv_id', 'recommendation_tv_id']); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('recommendations'); - } } diff --git a/database/migrations/2021_06_28_123452_add_standalone_css_to_users_table.php b/database/migrations/2021_06_28_123452_add_standalone_css_to_users_table.php index 53fd6ca276..e988908750 100644 --- a/database/migrations/2021_06_28_123452_add_standalone_css_to_users_table.php +++ b/database/migrations/2021_06_28_123452_add_standalone_css_to_users_table.php @@ -28,16 +28,4 @@ public function up() $table->string('standalone_css')->after('custom_css')->nullable(); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - // - }); - } } diff --git a/database/migrations/2021_07_08_135537_add_flush_own_peers_to_users_table.php b/database/migrations/2021_07_08_135537_add_flush_own_peers_to_users_table.php index 29b683c583..a8d7535306 100644 --- a/database/migrations/2021_07_08_135537_add_flush_own_peers_to_users_table.php +++ b/database/migrations/2021_07_08_135537_add_flush_own_peers_to_users_table.php @@ -17,16 +17,4 @@ public function up() $table->tinyInteger('own_flushes')->default('2'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('own_flushes'); - }); - } } diff --git a/stubs/migration.create.stub b/stubs/migration.create.stub new file mode 100644 index 0000000000..e9f9ca3bb2 --- /dev/null +++ b/stubs/migration.create.stub @@ -0,0 +1,21 @@ +id(); + $table->timestamps(); + }); + } +} diff --git a/stubs/migration.stub b/stubs/migration.stub new file mode 100644 index 0000000000..166a4ef08e --- /dev/null +++ b/stubs/migration.stub @@ -0,0 +1,18 @@ +