No Description

2020_10_29_195413_MakeObjectiveNullable.php 454B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. use Illuminate\Database\Schema\Blueprint;
  3. use Illuminate\Database\Migrations\Migration;
  4. class MakeObjectiveNullable extends Migration
  5. {
  6. /**
  7. * Run the migrations.
  8. *
  9. * @return void
  10. */
  11. public function up()
  12. {
  13. Schema::table('new_criteria', function (Blueprint $table) {
  14. $table->dropForeign('new_criteria_objective_id_foreign');
  15. });
  16. }
  17. /**
  18. * Reverse the migrations.
  19. *
  20. * @return void
  21. */
  22. public function down()
  23. {
  24. //
  25. }
  26. }