Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve add_dag_code_table migration
This migration had a few problems that could cause us trouble in the future: 1. It was importing the live model definition, which could break in the future (if for instance it ever got a new column added, when this migration runs it would try to use that new definition, but the column won't exist yet). 2. It was selecting the (large) `data` column needlessly 3. It was dropping and re-creating the index but that is only needed on MSSQL, not for MySQL or Postgresql.
- Loading branch information