Geen omschrijving

2021_02_25_180526_three_year_plan.php 563B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. use Illuminate\Database\Schema\Blueprint;
  3. use Illuminate\Database\Migrations\Migration;
  4. class ThreeYearPlan extends Migration
  5. {
  6. /**
  7. * Run the migrations.
  8. *
  9. * @return void
  10. */
  11. public function up()
  12. {
  13. Schema::create('three_year_plan', function (Blueprint $table) {
  14. $table->increments('id');
  15. $table->timestamps();
  16. $table->integer('year_start')->unsigned();
  17. $table->integer('year_end')->unsigned();
  18. });
  19. }
  20. /**
  21. * Reverse the migrations.
  22. *
  23. * @return void
  24. */
  25. public function down()
  26. {
  27. Schema::drop('three_year_plan');
  28. }
  29. }