7c0ce842813667e95d32d9195376ed5263c3fd45
RatBot
alembic init alembic
In alembic.ini, configure the database URL:
sqlalchemy.url = sqlite:///./test.db
albemic/env.py
from models import Base
target_metadata = Base.metadata
Make migrations
alembic revision --autogenerate -m "Create model XYZ"
Migrate
alembic upgrade head
Description
A django project to add title and alt-text to images and post them to the Fediverse
171 KiB
Languages
Python
56.9%
CSS
32.2%
HTML
10.9%