database migration from sqlite to postgres
Signed-off-by: philippe lhardy <philippe.lhardy@astrolabe.coop>
This commit is contained in:
15
nextcloud_devenv/config_db_query.sh
Normal file
15
nextcloud_devenv/config_db_query.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
query_password "database password :" password
|
||||
|
||||
if [[ -z $password ]]
|
||||
then
|
||||
log_error "Missing password"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
flavor=dev
|
||||
|
||||
database_name=nextcloud_$flavor
|
||||
username=nextcloud_$flavor
|
||||
db_port=5432
|
||||
db_hostname=127.0.0.1
|
||||
Reference in New Issue
Block a user