Hi!

I have some problem. I need to add new field in table and populate it by 
some default data. I can not hardcode it because it different in debug and 
production enviroment. I want to store data in some "config file". The 
problem is migration does not see my modules.

├───alembic │
    ├───versions │ 
        ├───first_migration.py │ 
        ├───second_migration.py │
    ├─── migration_data.py

If I import from alembic. migration_data  import SOME_DATA it throws import 
error while migrating. 

Any good pratice, how can I store migration data? Thanks for advices.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy-alembic+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy-alembic/b809c48a-fe48-4323-96ad-fa4efbe0e6bdn%40googlegroups.com.

Reply via email to