diff --git a/database/migrations/2022_09_04_204621_add_paths_to_applications_table.php b/database/migrations/2022_09_04_204621_add_paths_to_applications_table.php index 71d69238..7f680bd8 100644 --- a/database/migrations/2022_09_04_204621_add_paths_to_applications_table.php +++ b/database/migrations/2022_09_04_204621_add_paths_to_applications_table.php @@ -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'); }); } diff --git a/database/migrations/2022_09_23_131631_alter_applications_table.php b/database/migrations/2022_09_23_131631_alter_applications_table.php deleted file mode 100644 index 9603c113..00000000 --- a/database/migrations/2022_09_23_131631_alter_applications_table.php +++ /dev/null @@ -1,31 +0,0 @@ -dropColumn('receipt_path'); - $table->dropColumn('questionnaire_path'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - // - } -};