All checks were successful
Build & Push / Build & Push image (push) Successful in 38s
- 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.
24 lines
414 B
Python
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')
|