Fake all migrations to sync existing DB schema
Some checks failed
Deploy Beta (NATIVE) / deploy (push) Failing after 19s

This commit is contained in:
vickytechkey 2026-08-21 11:25:50 +05:30
parent 32a945a507
commit d9bf55b7da

View file

@ -82,9 +82,9 @@ jobs:
echo "DB_PORT=5432" >> .env
# ── 6. Run Database Migrations ─────────────────────────────────
./venv/bin/python manage.py migrate --fake-initial --noinput
./venv/bin/python manage.py migrate --database=customerprofile --fake-initial --noinput
./venv/bin/python manage.py migrate --database=productprofile --fake-initial --noinput
./venv/bin/python manage.py migrate --fake --noinput
./venv/bin/python manage.py migrate --database=customerprofile --fake --noinput
./venv/bin/python manage.py migrate --database=productprofile --fake --noinput
# ── 7. Configure and restart Systemd service ───────────────────
sudo mv /tmp/seller-central-backend.service /etc/systemd/system/seller-central-backend.service