mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
add db search path
This commit is contained in:
1 parent
e3bed5ae67
commit
975f3a95fe
1 file changed
+3
@@ -19,6 +19,9 @@ production:
|
||||
username: <%= ENV['DATABASE_USER'] %>
|
||||
password: <%= ENV['DATABASE_PASSWORD'] %>
|
||||
database: <%= ENV['DATABASE_NAME'] %>
|
||||
<% if !ENV['DATABASE_SEARCH_PATH'].to_s.empty? %>
|
||||
search_path: <%= ENV['DATABASE_SEARCH_PATH'] %>
|
||||
<% end %>
|
||||
<% elsif ENV['DATABASE_URL'].to_s.empty? %>
|
||||
adapter: sqlite3
|
||||
database: <%= ENV['WORKDIR'] || '.' %>/db.sqlite3
|
||||
|
||||
Reference in new issue
Block a user