1
0
Fork 0
forked from OpenNeo/impress

Merge branch 'main' into simpler-item-previews

This commit is contained in:
Emi Matchu 2024-07-07 17:23:08 -07:00
commit 62d9f2d24a

View file

@ -74,6 +74,7 @@ namespace :public_data do
# The connection details for our database!
config = ApplicationRecord.connection_db_config.configuration_hash
args << "--host=#{config[:host]}" if config[:host]
args << "--ssl=false" # SSL is the default for recent MariaDB; override!
args << "--user=#{config[:username]}" if config[:username]
args << "--password=#{config[:password]}" if config[:password]
args << "--database=#{config.fetch(:database)}"