Browse Source

Adopt anonymous migrations

Shift 2 years ago
parent
commit
78980a993f
55 changed files with 109 additions and 109 deletions
  1. 1 1
      database/migrations/2014_10_12_000000_create_users_table.php
  2. 2 2
      database/migrations/2014_10_12_100000_create_password_resets_table.php
  3. 2 2
      database/migrations/2019_08_19_000000_create_failed_jobs_table.php
  4. 2 2
      database/migrations/2021_02_06_182407_create_notifications_table.php
  5. 2 2
      database/migrations/2021_02_07_173938_create_locations_table.php
  6. 2 2
      database/migrations/2021_02_07_173939_create_nodes_table.php
  7. 2 2
      database/migrations/2021_02_07_173940_create_nests_table.php
  8. 2 2
      database/migrations/2021_02_07_173941_create_eggs_table.php
  9. 2 2
      database/migrations/2021_02_07_173942_create_products_table.php
  10. 2 2
      database/migrations/2021_02_07_173943_create_servers_table.php
  11. 2 2
      database/migrations/2021_02_08_190205_create_activity_log_table.php
  12. 2 2
      database/migrations/2021_02_16_162655_create_payments_table.php
  13. 2 2
      database/migrations/2021_03_24_073828_add_ip_and_last_seen_to_users_table.php
  14. 2 2
      database/migrations/2021_04_11_190944_create_discord_users_table.php
  15. 2 2
      database/migrations/2021_04_11_195141_add_discord_verified_at_to_users_table.php
  16. 2 2
      database/migrations/2021_05_04_155305_add_disabled_to_products_table.php
  17. 2 2
      database/migrations/2021_05_06_123125_update_make_description_nullable_to_locations_table.php
  18. 2 2
      database/migrations/2021_05_06_131634_update_make_description_nullable_add_disabled_to_nodes_table.php
  19. 2 2
      database/migrations/2021_05_06_140859_update_make_description_nullable_add_disabled_to_nest_table.php
  20. 2 2
      database/migrations/2021_05_06_150709_update_make_description_nullable_to_eggs_table.php
  21. 2 2
      database/migrations/2021_05_07_065911_update_to_servers_table.php
  22. 2 2
      database/migrations/2021_05_07_162701_remove_config_from_servers_table.php
  23. 2 2
      database/migrations/2021_05_08_081218_create_paypal_products_table.php
  24. 2 2
      database/migrations/2021_05_08_164658_create_configurations_table.php
  25. 2 2
      database/migrations/2021_05_09_153742_add_display_to_paypal_products_table.php
  26. 2 2
      database/migrations/2021_05_15_211643_create_jobs_table.php
  27. 2 2
      database/migrations/2021_06_06_144120_create_application_apis_table.php
  28. 2 2
      database/migrations/2021_06_09_213306_create_useful_links_table.php
  29. 2 2
      database/migrations/2021_06_23_090026_update_price_to_payments_table.php
  30. 2 2
      database/migrations/2021_06_23_090806_add__currency_code_to_payments_table.php
  31. 2 2
      database/migrations/2021_07_06_152319_create_egg_product_table.php
  32. 2 2
      database/migrations/2021_07_06_154314_create_node_product_table.php
  33. 2 2
      database/migrations/2021_07_06_154658_add_disabled_to_eggs_table.php
  34. 2 2
      database/migrations/2021_07_09_190453_create_vouchers_table.php
  35. 2 2
      database/migrations/2021_07_09_191913_create_user_voucher_table.php
  36. 2 2
      database/migrations/2021_07_10_062140_update_credits_to_users_table.php
  37. 2 2
      database/migrations/2021_09_26_150114_add_suspended_to_users_table.php
  38. 2 2
      database/migrations/2021_10_01_200844_add_product_minimum_credits.php
  39. 2 2
      database/migrations/2021_11_05_071456_add_tax_to_paymentlogs.php
  40. 2 2
      database/migrations/2021_11_27_014226_create_invoices.php
  41. 2 2
      database/migrations/2021_12_15_120346_update_to_payments_table.php
  42. 2 2
      database/migrations/2021_12_28_203515_rename_paypal_products_table.php
  43. 2 2
      database/migrations/2022_01_05_144858_rename_configurations_table.php
  44. 2 2
      database/migrations/2022_01_14_234418_update_settings_table_allow_nullable.php
  45. 2 2
      database/migrations/2022_05_30_085900_rename_credits_product.php
  46. 2 2
      database/migrations/2022_06_02_081655_referral_code.php
  47. 2 2
      database/migrations/2022_06_02_091921_table-user-referrals.php
  48. 2 2
      database/migrations/2022_07_12_051152_decimals-in-price.php
  49. 2 2
      database/migrations/2022_08_01_170819_create_tickets_table.php
  50. 2 2
      database/migrations/2022_08_01_171633_create_ticketcategories_table.php
  51. 2 2
      database/migrations/2022_08_01_181607_create_ticketcomments_table.php
  52. 2 2
      database/migrations/2022_08_11_151039_create_ticket_blacklist_table.php
  53. 2 2
      database/migrations/2022_08_25_202109_create_partner_discounts_table.php
  54. 2 2
      database/migrations/2022_11_29_075851_email_verify_d_b.php
  55. 2 2
      database/migrations/2023_01_03_185102_update_make_description_text_in_nests_table.php

File diff suppressed because it is too large
+ 1 - 1
database/migrations/2014_10_12_000000_create_users_table.php


+ 2 - 2
database/migrations/2014_10_12_100000_create_password_resets_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreatePasswordResetsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class CreatePasswordResetsTable extends Migration
     {
         Schema::dropIfExists('password_resets');
     }
-}
+};

+ 2 - 2
database/migrations/2019_08_19_000000_create_failed_jobs_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateFailedJobsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -33,4 +33,4 @@ class CreateFailedJobsTable extends Migration
     {
         Schema::dropIfExists('failed_jobs');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_06_182407_create_notifications_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateNotificationsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -32,4 +32,4 @@ class CreateNotificationsTable extends Migration
     {
         Schema::dropIfExists('notifications');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_07_173938_create_locations_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateLocationsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -30,4 +30,4 @@ class CreateLocationsTable extends Migration
     {
         Schema::dropIfExists('locations');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_07_173939_create_nodes_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateNodesTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class CreateNodesTable extends Migration
     {
         Schema::dropIfExists('nodes');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_07_173940_create_nests_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateNestsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -30,4 +30,4 @@ class CreateNestsTable extends Migration
     {
         Schema::dropIfExists('nests');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_07_173941_create_eggs_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateEggsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -34,4 +34,4 @@ class CreateEggsTable extends Migration
     {
         Schema::dropIfExists('eggs');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_07_173942_create_products_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateProductsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -39,4 +39,4 @@ class CreateProductsTable extends Migration
     {
         Schema::dropIfExists('products');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_07_173943_create_servers_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateServersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -37,4 +37,4 @@ class CreateServersTable extends Migration
     {
         Schema::dropIfExists('servers');
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_08_190205_create_activity_log_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateActivityLogTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -30,4 +30,4 @@ class CreateActivityLogTable extends Migration
     {
         Schema::connection(config('activitylog.database_connection'))->dropIfExists(config('activitylog.table_name'));
     }
-}
+};

+ 2 - 2
database/migrations/2021_02_16_162655_create_payments_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreatePaymentsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -36,4 +36,4 @@ class CreatePaymentsTable extends Migration
     {
         Schema::dropIfExists('payments');
     }
-}
+};

+ 2 - 2
database/migrations/2021_03_24_073828_add_ip_and_last_seen_to_users_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddIpAndLastSeenToUsersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class AddIpAndLastSeenToUsersTable extends Migration
             $table->dropColumn('last_seen');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_04_11_190944_create_discord_users_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateDiscordUsersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -39,4 +39,4 @@ class CreateDiscordUsersTable extends Migration
     {
         Schema::dropIfExists('discord_users');
     }
-}
+};

+ 2 - 2
database/migrations/2021_04_11_195141_add_discord_verified_at_to_users_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddDiscordVerifiedAtToUsersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class AddDiscordVerifiedAtToUsersTable extends Migration
             $table->removeColumn('discord_verified_at');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_04_155305_add_disabled_to_products_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddDisabledToProductsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class AddDisabledToProductsTable extends Migration
             $table->dropColumn('disabled');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_06_123125_update_make_description_nullable_to_locations_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateMakeDescriptionNullableToLocationsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class UpdateMakeDescriptionNullableToLocationsTable extends Migration
             $table->string('description')->nullable(false)->change();
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_06_131634_update_make_description_nullable_add_disabled_to_nodes_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateMakeDescriptionNullableAddDisabledToNodesTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class UpdateMakeDescriptionNullableAddDisabledToNodesTable extends Migration
             $table->dropColumn('disabled');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_06_140859_update_make_description_nullable_add_disabled_to_nest_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateMakeDescriptionNullableAddDisabledToNestTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class UpdateMakeDescriptionNullableAddDisabledToNestTable extends Migration
             $table->dropColumn('disabled');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_06_150709_update_make_description_nullable_to_eggs_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateMakeDescriptionNullableToEggsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class UpdateMakeDescriptionNullableToEggsTable extends Migration
             $table->text('description')->nullable(false)->change();
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_07_065911_update_to_servers_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateToServersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -35,4 +35,4 @@ class UpdateToServersTable extends Migration
             $table->dropColumn('config');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_07_162701_remove_config_from_servers_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class RemoveConfigFromServersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class RemoveConfigFromServersTable extends Migration
             $table->string('config')->nullable();
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_08_081218_create_paypal_products_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreatePaypalProductsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -34,4 +34,4 @@ class CreatePaypalProductsTable extends Migration
     {
         Schema::dropIfExists('paypal_products');
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_08_164658_create_configurations_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateConfigurationsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class CreateConfigurationsTable extends Migration
     {
         Schema::dropIfExists('configurations');
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_09_153742_add_display_to_paypal_products_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddDisplayToPayPalProductsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class AddDisplayToPayPalProductsTable extends Migration
             $table->dropColumn('display');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_05_15_211643_create_jobs_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateJobsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -33,4 +33,4 @@ class CreateJobsTable extends Migration
     {
         Schema::dropIfExists('jobs');
     }
-}
+};

+ 2 - 2
database/migrations/2021_06_06_144120_create_application_apis_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateApplicationApisTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -30,4 +30,4 @@ class CreateApplicationApisTable extends Migration
     {
         Schema::dropIfExists('application_apis');
     }
-}
+};

+ 2 - 2
database/migrations/2021_06_09_213306_create_useful_links_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateUsefulLinksTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -32,4 +32,4 @@ class CreateUsefulLinksTable extends Migration
     {
         Schema::dropIfExists('useful_links');
     }
-}
+};

+ 2 - 2
database/migrations/2021_06_23_090026_update_price_to_payments_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdatePriceToPaymentsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class UpdatePriceToPaymentsTable extends Migration
             $table->string('price')->change()->nullable();
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_06_23_090806_add__currency_code_to_payments_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddCurrencyCodeToPaymentsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class AddCurrencyCodeToPaymentsTable extends Migration
             $table->dropColumn('currency_code');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_07_06_152319_create_egg_product_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateEggProductTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class CreateEggProductTable extends Migration
     {
         Schema::dropIfExists('egg_product');
     }
-}
+};

+ 2 - 2
database/migrations/2021_07_06_154314_create_node_product_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateNodeProductTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class CreateNodeProductTable extends Migration
     {
         Schema::dropIfExists('node_product');
     }
-}
+};

+ 2 - 2
database/migrations/2021_07_06_154658_add_disabled_to_eggs_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddDisabledToEggsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class AddDisabledToEggsTable extends Migration
             $table->dropColumn('disabled');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_07_09_190453_create_vouchers_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateVouchersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -33,4 +33,4 @@ class CreateVouchersTable extends Migration
     {
         Schema::dropIfExists('vouchers');
     }
-}
+};

+ 2 - 2
database/migrations/2021_07_09_191913_create_user_voucher_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateUserVoucherTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class CreateUserVoucherTable extends Migration
     {
         Schema::dropIfExists('user_voucher');
     }
-}
+};

+ 2 - 2
database/migrations/2021_07_10_062140_update_credits_to_users_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateCreditsToUsersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class UpdateCreditsToUsersTable extends Migration
             $table->unsignedFloat('credits')->change();
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_09_26_150114_add_suspended_to_users_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddSuspendedToUsersTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class AddSuspendedToUsersTable extends Migration
             $table->dropColumn('suspended');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_10_01_200844_add_product_minimum_credits.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddProductMinimumCredits extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class AddProductMinimumCredits extends Migration
             $table->dropColumn('minimum_credits');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_11_05_071456_add_tax_to_paymentlogs.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class AddTaxToPaymentlogs extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -33,4 +33,4 @@ class AddTaxToPaymentlogs extends Migration
             $table->dropColumn('total_price');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_11_27_014226_create_invoices.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateInvoices extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class CreateInvoices extends Migration
     {
         Schema::dropIfExists('invoices');
     }
-}
+};

+ 2 - 2
database/migrations/2021_12_15_120346_update_to_payments_table.php

@@ -5,7 +5,7 @@ use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\DB;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateToPaymentsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -38,4 +38,4 @@ class UpdateToPaymentsTable extends Migration
             $table->dropColumn('credit_product_id');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2021_12_28_203515_rename_paypal_products_table.php

@@ -3,7 +3,7 @@
 use Illuminate\Database\Migrations\Migration;
 use Illuminate\Support\Facades\Schema;
 
-class RenamePaypalProductsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -24,4 +24,4 @@ class RenamePaypalProductsTable extends Migration
     {
         Schema::rename('credit_products', 'paypal_products');
     }
-}
+};

+ 2 - 2
database/migrations/2022_01_05_144858_rename_configurations_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Support\Facades\DB;
 use Illuminate\Support\Facades\Schema;
 
-class RenameConfigurationsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -57,4 +57,4 @@ class RenameConfigurationsTable extends Migration
         DB::table('configurations')->where('key', 'SETTINGS::SERVER:CREDITS_DISPLAY_NAME')->update(['key' => 'SETTINGS::SYSTEM:CREDITS_DISPLAY_NAME']);
         DB::table('configurations')->where('key', 'SETTINGS::PAYMENTS:SALES_TAX')->update(['key' => 'SALES_TAX']);
     }
-}
+};

+ 2 - 2
database/migrations/2022_01_14_234418_update_settings_table_allow_nullable.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateSettingsTableAllowNullable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class UpdateSettingsTableAllowNullable extends Migration
             $table->string('value')->nullable(false)->change();
         });
     }
-}
+};

+ 2 - 2
database/migrations/2022_05_30_085900_rename_credits_product.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class RenameCreditsProduct extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -32,4 +32,4 @@ class RenameCreditsProduct extends Migration
             $table->renameColumn('shop_item_product_id', 'credit_product_id');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2022_06_02_081655_referral_code.php

@@ -7,7 +7,7 @@ use Illuminate\Support\Facades\DB;
 use Illuminate\Support\Facades\Schema;
 use Illuminate\Support\Str;
 
-class ReferralCode extends Migration
+return new class extends Migration
 {
     public function generateCode($userid)
     {
@@ -50,4 +50,4 @@ class ReferralCode extends Migration
             $table->dropColumn('referral_code');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2022_06_02_091921_table-user-referrals.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class TableUserReferrals extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class TableUserReferrals extends Migration
     {
         Schema::dropIfExists('user_referrals');
     }
-}
+};

+ 2 - 2
database/migrations/2022_07_12_051152_decimals-in-price.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class DecimalsInPrice extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class DecimalsInPrice extends Migration
             $table->integer('price')->change();
         });
     }
-}
+};

+ 2 - 2
database/migrations/2022_08_01_170819_create_tickets_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateTicketsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -36,4 +36,4 @@ class CreateTicketsTable extends Migration
     {
         Schema::dropIfExists('tickets');
     }
-}
+};

+ 2 - 2
database/migrations/2022_08_01_171633_create_ticketcategories_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateTicketCategoriesTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -55,4 +55,4 @@ class CreateTicketCategoriesTable extends Migration
     {
         Schema::dropIfExists('ticket_categories');
     }
-}
+};

+ 2 - 2
database/migrations/2022_08_01_181607_create_ticketcomments_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateTicketCommentsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -31,4 +31,4 @@ class CreateTicketCommentsTable extends Migration
     {
         Schema::dropIfExists('ticket_comments');
     }
-}
+};

+ 2 - 2
database/migrations/2022_08_11_151039_create_ticket_blacklist_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreateTicketBlacklistTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -32,4 +32,4 @@ class CreateTicketBlacklistTable extends Migration
     {
         Schema::dropIfExists('ticket_blacklists');
     }
-}
+};

+ 2 - 2
database/migrations/2022_08_25_202109_create_partner_discounts_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class CreatePartnerDiscountsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -32,4 +32,4 @@ class CreatePartnerDiscountsTable extends Migration
     {
         Schema::dropIfExists('partner_discounts');
     }
-}
+};

+ 2 - 2
database/migrations/2022_11_29_075851_email_verify_d_b.php

@@ -5,7 +5,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class EmailVerifyDB extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -37,4 +37,4 @@ class EmailVerifyDB extends Migration
             $table->dropColumn('email_verified_reward');
         });
     }
-}
+};

+ 2 - 2
database/migrations/2023_01_03_185102_update_make_description_text_in_nests_table.php

@@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
 use Illuminate\Database\Schema\Blueprint;
 use Illuminate\Support\Facades\Schema;
 
-class UpdateMakeDescriptionTextInNestsTable extends Migration
+return new class extends Migration
 {
     /**
      * Run the migrations.
@@ -29,4 +29,4 @@ class UpdateMakeDescriptionTextInNestsTable extends Migration
             $table->string('description')->change();
         });
     }
-}
+};

Some files were not shown because too many files changed in this diff