diff --git a/database/migrations/2024_12_16_212214_allow_null_specitic_epithet.php b/database/migrations/2024_12_16_212214_allow_null_specitic_epithet.php new file mode 100644 index 00000000..e950418b --- /dev/null +++ b/database/migrations/2024_12_16_212214_allow_null_specitic_epithet.php @@ -0,0 +1,27 @@ +string('specific_epithet')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('tree_species_research', function (Blueprint $table) { + $table->string('specific_epithet')->nullable(false)->change(); + }); + } +};