fixed an issue with deploy.bootstrap, cuz docker was creating a fully functioning database using admin as the owner, and so it wasn't adding ronny. Instead of making yet another script I decided to just drop the datbase, using the database.drop_db which only gets rid of the datbase and not any users, and then initialize it from there
This commit is contained in:
parent
8e0afa1133
commit
a58e04db5f
1 changed files with 7 additions and 2 deletions
|
|
@ -201,8 +201,13 @@ def bootstrap():
|
|||
db.generate()
|
||||
print_console("ending db.generate")
|
||||
|
||||
# print_console("in db.init")
|
||||
# db.init()
|
||||
# we are ignoring the user, b/c ronny
|
||||
# was not yet set to be the user
|
||||
print_console("in db.drop_db")
|
||||
db.drop_db()
|
||||
|
||||
print_console("in db.init")
|
||||
db.init()
|
||||
|
||||
|
||||
@task
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue