While adding phinx migration, Is it possible to addColumn enum with default value? To achieve: 1. All existing rows to have the default value ('active' in this case) 2. All new entries to have the default value ('active' in this case)
Something I am building up is:
$this->table('my_table')
->addColumn('status', 'enum', ['values' => ['active', 'cancelled', 'expired']])
->create();
//how to add 'active' as default?