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

Commit

Permalink
Apply admin migration before enquiry (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
PippoRaimondiDIT authored Jun 3, 2024
1 parent f41bdd1 commit f6bcdc9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions reset-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@

set -xe

# Reset migrations to zero
# Reset migrations for the enquiries app to zero
./manage.py migrate --fake enquiries zero

# Make migrations
# Make migrations for the enquiries app
./manage.py makemigrations enquiries

# Apply migrations for the enquiries app
./manage.py migrate enquiries

# Apply migrations
./manage.py migrate --noinput

Expand Down

0 comments on commit f6bcdc9

Please sign in to comment.