diff --git a/database/migrations/2024_03_08_221752_make_nullable_columns_in_spice_harvester_harvests_table.php b/database/migrations/2024_03_08_221752_make_nullable_columns_in_spice_harvester_harvests_table.php new file mode 100644 index 000000000..80430ede6 --- /dev/null +++ b/database/migrations/2024_03_08_221752_make_nullable_columns_in_spice_harvester_harvests_table.php @@ -0,0 +1,34 @@ +string('set_spec')->nullable()->change(); + $table->string('set_name')->nullable()->change(); + $table->string('set_description')->nullable()->change(); + $table->text('status_messages')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('spice_harvester_harvests', function (Blueprint $table) { + $table->string('set_spec')->nullable(false)->change(); + $table->string('set_name')->nullable(false)->change(); + $table->string('set_description')->nullable(false)->change(); + $table->text('status_messages')->nullable(false)->change(); + }); + } +};