Delete unused script migrate-primary-db
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if bundle exec beamer is-primary --directory ./storage; then
|
|
||||||
echo "Running on primary node, preparing the database..."
|
|
||||||
bin/rails db:prepare
|
|
||||||
else
|
|
||||||
echo "This is not a primary node, skipping database preparation."
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user