Aucune description

2021_07_06_075249_fix_activities.php 607B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. use Illuminate\Database\Schema\Blueprint;
  3. use Illuminate\Database\Migrations\Migration;
  4. class FixActivities extends Migration
  5. {
  6. /**
  7. * Run the migrations.
  8. *
  9. * @return void
  10. */
  11. public function up()
  12. {
  13. Schema::table('activities', function (Blueprint $table) {
  14. $table->dropColumn(array(
  15. 'criteria_achieved',
  16. 'outcomes_attempted', 'outcomes_achieved',
  17. 'criteria_weights', 'criteria_achieved_percentage',
  18. 'criteria_participant_count', 'criteria_achiever_count'
  19. ));
  20. });
  21. }
  22. /**
  23. * Reverse the migrations.
  24. *
  25. * @return void
  26. */
  27. public function down()
  28. {
  29. //
  30. }
  31. }