  File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/schema.py", line 3193, in _resolve_column
    raise exc.NoReferencedTableError(
sqlalchemy.exc.NoReferencedTableError: Foreign key associated with column 'attachments.html_source_template_id' could not find table 'email_templates' with which to generate a foreign key to target column 'id'
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
             List of relations
 Schema |      Name       | Type  | Owner  
--------+-----------------+-------+--------
 public | alembic_version | table | mailer
(1 row)

