mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
fix schema load
This commit is contained in:
parent
76bc5cea9c
commit
0ab35aafb6
1 changed files with 2 additions and 2 deletions
|
@ -6,11 +6,11 @@ namespace :db do
|
|||
def schema_file(db)
|
||||
case db
|
||||
when databases.first
|
||||
'schema.rb'
|
||||
'api_log_schema.rb'
|
||||
when databases.second
|
||||
'whois_schema.rb'
|
||||
when databases.third
|
||||
'api_log_schema.rb'
|
||||
'schema.rb'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue