2021-06-05 09:26:32 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
|
2021-12-12 23:58:47 +00:00
|
|
|
class AddDisplayToCreditProductsTable extends Migration
|
2021-06-05 09:26:32 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
2021-12-12 23:58:47 +00:00
|
|
|
Schema::table('credit_products', function (Blueprint $table) {
|
2021-06-05 09:26:32 +00:00
|
|
|
$table->string('display');
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
2021-12-12 23:58:47 +00:00
|
|
|
Schema::table('credit_products', function (Blueprint $table) {
|
2021-06-05 09:26:32 +00:00
|
|
|
$table->dropColumn('display');
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|