Skip to content

Commit

Permalink
Merge pull request #216 from wri/feat/TM-738-decimal-hectares
Browse files Browse the repository at this point in the history
[TM-738] Support fewer than 0 for "A natural regeneration"
  • Loading branch information
roguenet authored May 22, 2024
2 parents e7a9103 + ee5257f commit 08c294e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions database/migrations/2024_05_21_193901_float_regeneration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration {
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('v2_sites', function (Blueprint $table) {
$table->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();
});
}
};

0 comments on commit 08c294e

Please sign in to comment.