Skip to content

Commit

Permalink
update django migrate command
Browse files Browse the repository at this point in the history
  • Loading branch information
furlongm committed Dec 12, 2023
1 parent 2a37825 commit 60247c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ collect static files:

```shell
patchman-manage makemigrations
patchman-manage migrate --run-syncdb
patchman-manage migrate --run-syncdb --fake-initial
patchman-manage createsuperuser
patchman-manage collectstatic
```
Expand Down
2 changes: 1 addition & 1 deletion debian/python3-patchman.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ "$1" = "configure" ] ; then
patchman-manage collectstatic --noinput

patchman-manage makemigrations
patchman-manage migrate --run-syncdb
patchman-manage migrate --run-syncdb --fake-initial

chown -R www-data:www-data /var/lib/patchman

Expand Down
2 changes: 1 addition & 1 deletion scripts/rpm-post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mkdir -p /var/lib/patchman/db
patchman-manage collectstatic --noinput

patchman-manage makemigrations
patchman-manage migrate --run-syncdb
patchman-manage migrate --run-syncdb --fake-initial

chown -R apache:apache /var/lib/patchman
chcon --type httpd_sys_rw_content_t /var/lib/patchman/db/patchman.db
Expand Down

0 comments on commit 60247c3

Please sign in to comment.