Add Alembic to project for database migrations

This commit is contained in:
Lexi / Zoe 2022-04-15 16:10:38 +02:00
parent 7755bfb46d
commit 7ce43a2bfe
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
15 changed files with 256 additions and 49 deletions

View file

@ -1,9 +1,9 @@
from sqlalchemy import Column, Integer, String, Text
from tofu_api.common.database import Model
from .base import BaseModel
class Task(Model):
class Task(BaseModel):
"""
Database model for tasks.
"""