Fake all migrations to sync existing DB schema
Some checks failed
Deploy Beta (NATIVE) / deploy (push) Failing after 19s
Some checks failed
Deploy Beta (NATIVE) / deploy (push) Failing after 19s
This commit is contained in:
parent
32a945a507
commit
d9bf55b7da
1 changed files with 3 additions and 3 deletions
|
|
@ -82,9 +82,9 @@ jobs:
|
||||||
echo "DB_PORT=5432" >> .env
|
echo "DB_PORT=5432" >> .env
|
||||||
|
|
||||||
# ── 6. Run Database Migrations ─────────────────────────────────
|
# ── 6. Run Database Migrations ─────────────────────────────────
|
||||||
./venv/bin/python manage.py migrate --fake-initial --noinput
|
./venv/bin/python manage.py migrate --fake --noinput
|
||||||
./venv/bin/python manage.py migrate --database=customerprofile --fake-initial --noinput
|
./venv/bin/python manage.py migrate --database=customerprofile --fake --noinput
|
||||||
./venv/bin/python manage.py migrate --database=productprofile --fake-initial --noinput
|
./venv/bin/python manage.py migrate --database=productprofile --fake --noinput
|
||||||
|
|
||||||
# ── 7. Configure and restart Systemd service ───────────────────
|
# ── 7. Configure and restart Systemd service ───────────────────
|
||||||
sudo mv /tmp/seller-central-backend.service /etc/systemd/system/seller-central-backend.service
|
sudo mv /tmp/seller-central-backend.service /etc/systemd/system/seller-central-backend.service
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue