Sin descripción

2020_10_29_122332_MakeOutcomeNullable.php 446B

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