paschmann / rasa-ui

Rasa UI is a frontend for the Rasa Framework
MIT License
960 stars 330 forks source link

Use dedicated schema and configurable user in postgres #127

Closed elvay1 closed 5 years ago

elvay1 commented 5 years ago

According to postgres documentation the public schema should not be used. Also, as the postgres user can be defined in the postgresserver environment variable, it should also be configurable in the database creation script.

I propose to transform these hardcoded values to variables in the dbcreate and migration scripts so they could be valorized on script execution time

paschmann commented 5 years ago

Hi @elvay1 - good point, if you would like to make the change I would be happy to include it through a pull request. Thanks!