Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix: resolved db missing table issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankLi123 committed Oct 16, 2024
1 parent 31b3b30 commit 594a67f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions deploy_mastodon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,9 @@ END
# Run database migrations
echo "Running database migrations..."
docker_compose_sudo run --rm web rails db:migrate

## Precompile assets
echo "Precompiling assets...(This step could take several minutes to complete)"
# docker_compose_sudo run --rm web rails assets:precompile

docker_compose_sudo run --rm web rails db:seed
docker_compose_sudo down
docker_compose_sudo up -d


# Create first default admin user
Expand Down

0 comments on commit 594a67f

Please sign in to comment.