3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
7 return new class extends Migration
16 Schema::table('techniques', function(Blueprint $table) {
17 $table->text('requirements')->nullable()->default(null);
18 $table->text('attribution')->default('');
20 Schema::table('technique_translations', function(Blueprint $table) {
21 $table->text('attribution')->default('');
26 * Reverse the migrations.
30 public function down()
32 Schema::table('techniques', function(Blueprint $table) {
33 $table->dropColumn('requirements');
34 $table->dropColumn('attribution');
36 Schema::table('technique_translations', function(Blueprint $table) {
37 $table->dropColumn('attribution');