1
0
Fork 0

Rename PostgreSQL user and database

This commit is contained in:
Alex Kotov 2020-10-21 12:44:53 +05:00
parent e5e8cb63bb
commit a177e18aad
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 2 additions and 3 deletions

View File

@ -1,2 +1,2 @@
DATABASE_URL='postgres://fedihub:fedihub@localhost:5432/fedihub_development'
DATABASE_URL='postgres://fedihub_website_development:fedihub_website_development@localhost:5432/fedihub_website_development'
SECRET_KEY='AQBtboLMg6SkvabJodunoFwsv8F3VgzRKaL8PdEHSkQ='

View File

@ -7,8 +7,7 @@ use rocket::config::{
const DEFAULT_ENVIRONMENT: Environment = Environment::Development;
const DEFAULT_ADDRESS: &str = "127.0.0.1";
const DEFAULT_PORT: u16 = 8000;
const DEFAULT_DATABASE_URL: &str =
"postgres://fedihub:fedihub@localhost/fedihub_development";
const DEFAULT_DATABASE_URL: &str = "postgres://fedihub_website_development:fedihub_website_development@localhost:5432/fedihub_website_development";
#[derive(Debug)]
pub enum Environment {