Initialize alembic for the project.
(cls)
| 166 | |
| 167 | @classmethod |
| 168 | def alembic_init(cls): |
| 169 | """Initialize alembic for the project.""" |
| 170 | alembic.command.init( |
| 171 | config=alembic.config.Config(constants.ALEMBIC_CONFIG), |
| 172 | directory=str(Path(constants.ALEMBIC_CONFIG).parent / "alembic"), |
| 173 | ) |
| 174 | |
| 175 | @classmethod |
| 176 | def alembic_autogenerate( |