Initial commit - existing project files
This commit is contained in:
commit
c49798a9ea
82 changed files with 4304 additions and 0 deletions
12
lib/db-migrations.sh
Normal file
12
lib/db-migrations.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
# enable debugging for this command
|
||||
export DJANGO_DEBUG="true"
|
||||
|
||||
# make migrations & migrate
|
||||
python3 $(pwd)/application/manage.py makemigrations
|
||||
python3 $(pwd)/application/manage.py makemigrations app
|
||||
python3 $(pwd)/application/manage.py migrate
|
||||
|
||||
echo -e "done with db migration."
|
Loading…
Add table
Add a link
Reference in a new issue