bot rafactor and bugfix
This commit is contained in:
8
bin/migrate.sh
Executable file
8
bin/migrate.sh
Executable 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"
|
||||
Reference in New Issue
Block a user