From ee5257f2605dd384bac0d06149c924970279de86 Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Tue, 21 May 2024 12:45:36 -0700 Subject: [PATCH] [TM-738] Support fewer than 0 for "A natural regeneration" --- .../2024_05_21_193901_float_regeneration.php | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 database/migrations/2024_05_21_193901_float_regeneration.php diff --git a/database/migrations/2024_05_21_193901_float_regeneration.php b/database/migrations/2024_05_21_193901_float_regeneration.php new file mode 100644 index 000000000..76e566d94 --- /dev/null +++ b/database/migrations/2024_05_21_193901_float_regeneration.php @@ -0,0 +1,27 @@ +float('a_nat_regeneration')->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('v2_sites', function (Blueprint $table) { + $table->unsignedInteger('a_nat_regeneration')->change(); + }); + } +};