integer('tid_skin')->default(-1); if (Schema::hasColumn('players', 'preference')) { $table->string('preference', 10)->nullable()->change(); } }); } public function down() { Schema::table('players', function (Blueprint $table) { $table->dropColumn('tid_skin'); if (Schema::hasColumn('players', 'preference')) { $table->string('preference', 10)->nullable(false)->change(); } }); } }