donBarbos / telegram-bot-template

🤖 Template for telegram bot using postgres, pgbouncer, redis, docker, amplitude, prometheus, grafana, CI
GNU Lesser General Public License v3.0
240 stars 49 forks source link

Suggestion: Admin models with all the models #308

Open fordnox opened 3 weeks ago

fordnox commented 3 weeks ago

When running

alembic revision --autogenerate -m "New model"

it does not detect admin models

INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.autogenerate.compare] Detected removed table 'roles_admins'
INFO  [alembic.autogenerate.compare] Detected removed table 'admin'
INFO  [alembic.autogenerate.compare] Detected removed table 'role'
INFO  [alembic.autogenerate.compare] Detected added unique constraint None on '('id',)'

or am i missing something?