Files
leerdoelen_tracker/backend/migrations/versions/0002_assessment_opmerking.py
Sam 5f2e1fdb1b
All checks were successful
Build & Push / Build & Push image (push) Successful in 38s
Add 'opmerking' column to assessments and implement related functionality
- Updated the database migration to include an 'opmerking' column in the assessments table.
- Modified the Assessment model to include the new 'opmerking' field.
- Enhanced the API to handle saving and retrieving remarks associated with assessments.
- Updated the frontend to display and edit remarks in the assessments table.
2026-03-03 09:17:50 +01:00

24 lines
414 B
Python

"""assessment: voeg opmerking kolom toe
Revision ID: 0002
Revises: 0001
Create Date: 2026-03-02
"""
from alembic import op
import sqlalchemy as sa
revision = '0002'
down_revision = '0001'
branch_labels = None
depends_on = None
def upgrade():
op.add_column('assessments',
sa.Column('opmerking', sa.String(500), nullable=True)
)
def downgrade():
op.drop_column('assessments', 'opmerking')