jsonb('questions')->default(new Expression("(JSON_ARRAY())")); } else { $table->jsonb('questions')->default('[]'); } }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('templates', function (Blueprint $table) { $table->dropColumn('questions'); }); } };