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:
ronnyabraham 2022-05-08 17:01:20 +03:00
parent 8e0afa1133
commit a58e04db5f

View file

@ -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