Add a value to an existing enum type.
The operation people actually need, and the one that used to require raw SQL: an enum in production gains a member, and recreating the type would mean dropping every column that uses it.
await qi.addEnumValue('order_status', 'refunded', { after: 'shipped' }); Copy
await qi.addEnumValue('order_status', 'refunded', { after: 'shipped' });
Add a value to an existing enum type.
The operation people actually need, and the one that used to require raw SQL: an enum in production gains a member, and recreating the type would mean dropping every column that uses it.