From 5dc5b8a95a9d70a01608a9458fb657378631e325 Mon Sep 17 00:00:00 2001 From: IceToast Date: Thu, 20 Jan 2022 09:31:28 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=9A=91=EF=B8=8F=20removed=20old=20?= =?UTF-8?q?migration=20renaming=20(wrong=20one)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...=> 2021_05_08_081218_create_paypal_products_table.php} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename database/migrations/{2021_05_08_081218_create_credit_products_table.php => 2021_05_08_081218_create_paypal_products_table.php} (76%) diff --git a/database/migrations/2021_05_08_081218_create_credit_products_table.php b/database/migrations/2021_05_08_081218_create_paypal_products_table.php similarity index 76% rename from database/migrations/2021_05_08_081218_create_credit_products_table.php rename to database/migrations/2021_05_08_081218_create_paypal_products_table.php index 2c4d1394..207e4313 100644 --- a/database/migrations/2021_05_08_081218_create_credit_products_table.php +++ b/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 CreateCreditProductsTable extends Migration +class CreatePaypalProductsTable extends Migration { /** * Run the migrations. @@ -13,13 +13,13 @@ class CreateCreditProductsTable extends Migration */ public function up() { - Schema::create('credit_products', function (Blueprint $table) { + Schema::create('paypal_products', function (Blueprint $table) { $table->uuid('id')->primary(); $table->string('type'); $table->decimal('price')->default(0); $table->unsignedInteger('quantity'); $table->string('description'); - $table->string('currency_code' , 3); + $table->string('currency_code', 3); $table->boolean('disabled')->default(true); $table->timestamps(); }); @@ -32,6 +32,6 @@ class CreateCreditProductsTable extends Migration */ public function down() { - Schema::dropIfExists('credit_products'); + Schema::dropIfExists('paypal_products'); } }