Nenhuma descrição

2020_12_04_111708_dropDescriptionInCriteria.php 597B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. use Illuminate\Database\Schema\Blueprint;
  3. use Illuminate\Database\Migrations\Migration;
  4. class DropDescriptionInCriteria 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->dropColumn('description12');
  15. $table->dropColumn('description34');
  16. $table->dropColumn('description56');
  17. $table->dropColumn('description78');
  18. $table->dropColumn('objective_id');
  19. });
  20. }
  21. /**
  22. * Reverse the migrations.
  23. *
  24. * @return void
  25. */
  26. public function down()
  27. {
  28. //
  29. }
  30. }