From 76edc505301e7bfd635a621421b75815e5eb390f Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Mon, 16 Dec 2024 13:25:34 -0800 Subject: [PATCH] [TM-1400] Allow null in specific epithet. --- ..._16_212214_allow_null_specitic_epithet.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2024_12_16_212214_allow_null_specitic_epithet.php 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..75fa086b --- /dev/null +++ b/database/migrations/2024_12_16_212214_allow_null_specitic_epithet.php @@ -0,0 +1,28 @@ +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(); + }); + } +};