Няма описание

2021_01_31_171210_fix_criterion_scale.php 460B

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