bot rafactor and bugfix

This commit is contained in:
2025-08-19 04:45:16 +09:00
parent 43dda889f8
commit a8d860ed87
31 changed files with 4396 additions and 613 deletions

8
bin/migrate.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -e
echo "Creating migration..."
docker compose run --rm api bash -c "alembic revision --autogenerate -m 'Add description column to templates'"
echo "Applying migration..."
docker compose run --rm api bash -c "alembic upgrade head"