2024-07-29 13:14:47 [info ] Detected added table 'subscriptions_search' [alembic.autogenerate.compare]
2024-07-29 13:14:47 [info ] Detected added index ''ix_subscriptions_search_subscription_id'' on '('subscription_id',)' [alembic.autogenerate.compare]
This is not correct and should be fixed by preferably modifying orchestrator.db.models.SubscriptionSearchView so that alembic recognizes it as a materialized view. If that is not possible, the model should be excluded from alembic altogether.
subscriptions_search
is a materialized view created manually through a migration. When running alembic's revision it creates the following migrationWith the following log messages:
This is not correct and should be fixed by preferably modifying
orchestrator.db.models.SubscriptionSearchView
so that alembic recognizes it as a materialized view. If that is not possible, the model should be excluded from alembic altogether.