uranusjr commented on PR #23056: URL: https://github.com/apache/airflow/pull/23056#issuecomment-1101862748
> in the migration file it's nullable which means essentially that the server default is NULL already. But the definition in the class also declares nullable (in the sense that `nullable` is not False and True is the default). From what I understand, `server_default` is injected into `ALTER TABLE` when the table is being modified (or `CREATE TABLE`), and without adding this to a migration this would do nothing. Instead of `server_default` perhaps we need to add `self.map_index = None` in `__init__` instead. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
