all country
This commit is contained in:
parent
c8cf40ab87
commit
6ad0742214
|
|
@ -14,8 +14,7 @@
|
|||
public function up()
|
||||
{
|
||||
Schema::table('applications', function (Blueprint $table) {
|
||||
$table->string('receipt_path')->nullable();
|
||||
$table->string('questionnaire_path')->nullable();
|
||||
|
||||
$table->string('state')->default('new');
|
||||
});
|
||||
}
|
||||
|
|
@ -28,8 +27,6 @@ public function up()
|
|||
public function down()
|
||||
{
|
||||
Schema::table('applications', function (Blueprint $table) {
|
||||
$table->dropColumn('receipt_path');
|
||||
$table->dropColumn('questionnaire_path');
|
||||
$table->dropColumn('state');
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,31 +0,0 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('applications', function (Blueprint $table) {
|
||||
$table->dropColumn('receipt_path');
|
||||
$table->dropColumn('questionnaire_path');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
};
|
||||
Loading…
Reference in New Issue