I am writing a migration in alembic but seems impossible to me the change the value of server_defaults from something to nothing.
My code:
op.alter_column("foo", sa.Column("bar", sa.DateTime(timezone=False), server_default=None, nullable=True))
If i check after the migration the default is still NOW()