mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Switch review apps to postgresql
This commit is contained in:
parent
f8b7233404
commit
f2ad141e32
2 changed files with 2 additions and 16 deletions
|
|
@ -1,10 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
namespace :db do
|
||||
desc 'setup DATABASE_URL from CLEARDB_DATABASE_URL in config/database.yml'
|
||||
task 'cleardb_env' do
|
||||
unless ENV['CLEARDB_DATABASE_URL'].nil?
|
||||
FileUtils.copy_file('config/database.yml.heroku', 'config/database.yml')
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue