File: /home/cursos.ril.es/database/migrations/2016_09_05_105702_add_contenido_to_cursos.php
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddContenidoToCursos extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('cursos', function (Blueprint $table) {
$table->text('fechaInfo')->nullable();
$table->text('programa')->nullable();
$table->text('faq')->nullable();
$table->text('informacion')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('cursos', function (Blueprint $table) {
$table->dropColumn('fechaInfo');
$table->dropColumn('programa');
$table->dropColumn('faq');
$table->dropColumn('informacion');
});
}
}