[V0.4] Added TODOs

This commit is contained in:
c-d-p
2025-04-21 23:47:38 +02:00
parent 5df6ae35cc
commit c0a58b45f4
26 changed files with 589 additions and 17 deletions

View File

@@ -19,6 +19,7 @@ from core.database import Base # Import your Base
from modules.auth.models import User # Example: Import User model
from modules.calendar.models import CalendarEvent # Example: Import CalendarEvent model
from modules.nlp.models import ChatMessage # Import the new ChatMessage model
from modules.todo.models import Todo # Import the new Todo model
# Add imports for any other models you have
# ----------------------------

View File

@@ -0,0 +1,32 @@
"""Add todo table
Revision ID: 9a82960db482
Revises: 69069d6184b3
Create Date: 2025-04-21 20:33:27.028529
"""
from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision: str = '9a82960db482'
down_revision: Union[str, None] = '69069d6184b3'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
def upgrade() -> None:
"""Upgrade schema."""
# ### commands auto generated by Alembic - please adjust! ###
pass
# ### end Alembic commands ###
def downgrade() -> None:
"""Downgrade schema."""
# ### commands auto generated by Alembic - please adjust! ###
pass
# ### end Alembic commands ###