all country

This commit is contained in:
merdan 2022-09-27 11:30:51 +05:00
parent c8cf40ab87
commit 6ad0742214
2 changed files with 1 additions and 35 deletions

View File

@ -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');
});
}

View File

@ -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()
{
//
}
};