Home > Software engineering >  Auto generate migrations alembic SQLAlchemy imperative declaration
Auto generate migrations alembic SQLAlchemy imperative declaration

Time:02-03

I'm exploring a new DDD project using SQLAlchemy and Alembic for the first time. I'd like to use imperative mapping to isolate my domain objects. All the doc I can find about auto generating migrations with Alembic is using declarative mapping. Is it because I have to manually write all migrations if I want to use imperative mapping ?

CodePudding user response:

I had to import the metada of the Table I manually defined

  •  Tags:  
  • Related