class UpdateSessions extends Migration {
public function up()
{
Schema::table('sessions', function($table){
$table->string('comCode')->nullable()->change();
});
}
public function down()
{
// What should i write here?
}
}
I have already created a sessions table writing a migration to change the column to be nullable. Now i am confused on what should i write in down?