Added in_use and priority_id field for channels urls. Added priorities table. Setup sql alchemy migration. Generate first migration.
All checks were successful
AWS Deploy on Push / build (push) Successful in 2m4s
All checks were successful
AWS Deploy on Push / build (push) Successful in 2m4s
This commit is contained in:
@@ -2,4 +2,10 @@
|
||||
|
||||
# Install dependencies and deploy infrastructure
|
||||
npm install -g aws-cdk
|
||||
python3 -m pip install -r requirements.txt
|
||||
python3 -m pip install -r requirements.txt
|
||||
|
||||
# Initialize and run database migrations
|
||||
alembic upgrade head
|
||||
|
||||
# Seed initial data
|
||||
python3 -c "from app.utils.database import SessionLocal; from app.models.db import Priority; db = SessionLocal(); db.add_all([Priority(id=100, description='High'), Priority(id=200, description='Medium'), Priority(id=300, description='Low')]); db.commit()"
|
||||
Reference in New Issue
Block a user