Skip to content

Commit

Permalink
[TM-1503] criteria historic (#587)
Browse files Browse the repository at this point in the history
* [TM-1503] add migrations to create tables historic criteria

* [TM-1503] delete and create site and historic

* [TM-1503] lint

* [TM-1503] remove useless attribut

* [TM-1503] remove comment
  • Loading branch information
egrojMonroy authored Nov 25, 2024
1 parent cc4d1ae commit 4c40156
Showing 1 changed file with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

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

class RemoveDateCreatedFromCriteriaSite extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('criteria_site', function (Blueprint $table) {
$table->dropColumn('date_created');
});
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('criteria_site', function (Blueprint $table) {
$table->timestamp('date_created')->nullable();
});
}
}

0 comments on commit 4c40156

Please sign in to comment.