Add Alembic to project for database migrations
This commit is contained in:
parent
7755bfb46d
commit
7ce43a2bfe
15 changed files with 256 additions and 49 deletions
|
|
@ -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.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue