To drop a column from an existing table, define a drop_column operation. You must provide the table name, the column name to be removed, and a down SQL expression. The down field is mandatory because it is used to backfill the column with data if you need to revert to the previous schema version while a migration is active.
For example, if you drop a price column, you can provide a down expression that sets the value to 0 for any new rows inserted against the new schema, ensuring compatibility with the old schema during the migration period.
drop_column:
table: name of table
column: name of column to drop
down: SQL expression