https://github.com/ghaztools/blogupdater
A service that connects to my obsidian plugin to publish and release blog posts
https://github.com/ghaztools/blogupdater
alembic hypercorn mypy obsidian pydantic python ruff sanic sqlalchemy
Last synced: 2 months ago
JSON representation
A service that connects to my obsidian plugin to publish and release blog posts
- Host: GitHub
- URL: https://github.com/ghaztools/blogupdater
- Owner: GhazTools
- Created: 2024-07-09T21:17:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-13T04:36:16.000Z (over 1 year ago)
- Last Synced: 2025-02-08T04:31:52.776Z (about 1 year ago)
- Topics: alembic, hypercorn, mypy, obsidian, pydantic, python, ruff, sanic, sqlalchemy
- Language: Python
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlogUpdater (im not sure if this will be a service yet or a kafka consumer or just a script)
This project uses Alembic for database schema versioning, allowing
for easy management of database migrations.
## Managing Database Versioning with Alembic
Alembic is a lightweight database migration tool for use with SQLAlchemy.
It provides command line tools for creating and managing scriptable database revisions.
### Updating Database Versioning
To create a new migration script after modifying your SQLAlchemy models, run:
```bash
alembic revision --autogenerate -m "DESCRIPTION_HERE"
```
Then, when youcan apply the update using
```bash
alembic upgrade head
```