File: /home/cursos.ril.es/database/migrations/2016_09_30_190649_add_fecha_ano_calendarios.php
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFechaAnoCalendarios extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('calendarios', function (Blueprint $table) {
$table->date('fecha_ano');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('calendarios', function (Blueprint $table) {
$table->dropColumn('fecha_ano');
});
}
}