Merge pull request #428 from 1day2die/development

Fix accidental rename in Migrations
This commit is contained in:
Dennis 2022-05-30 11:22:28 +02:00 committed by GitHub
commit b12ef1307e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ class UpdateToPaymentsTable extends Migration
$table->string('payment_method');
$table->dropColumn('payer');
$table->dropColumn('payer_id');
$table->string('shop_item_product_id');
$table->string('credit_product_id');
});
DB::statement('UPDATE payments SET payment_method="paypal"');
@ -36,7 +36,7 @@ class UpdateToPaymentsTable extends Migration
$table->dropColumn('payment_method');
$table->string('payer_id')->nullable();
$table->text('payer')->nullable();
$table->dropColumn('shop_item_product_id');
$table->dropColumn('credit_product_id');
});
}
}