From 594a67fe676950f594fdd289614a8b57667703f9 Mon Sep 17 00:00:00 2001 From: FrankLi123 Date: Wed, 16 Oct 2024 21:26:06 +0000 Subject: [PATCH] fix: resolved db missing table issue --- deploy_mastodon.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/deploy_mastodon.sh b/deploy_mastodon.sh index f0925f4..d51b13f 100755 --- a/deploy_mastodon.sh +++ b/deploy_mastodon.sh @@ -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