123456789101112131415161718192021222324252627282930313233343536 |
- <?php
-
- use Illuminate\Database\Migrations\Migration;
- use Illuminate\Database\Schema\Blueprint;
-
- class CreateQuinquennialPlansTable extends Migration {
-
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('quinquennial_plans', function(Blueprint $table)
- {
- $table->engine = 'InnoDB';
- $table->increments('id');
- $table->integer('starting_semester_id')->unsigned();
- $table->integer('ending_semester_id')->unsigned();
- $table->timestamps();
- });
- }
-
-
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::drop('quinquennial_plans');
- }
-
- }
|