Nessuna descrizione

2022_02_13_122842_add_results_to_transformative_status.php 572B

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