Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tasks/db.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ namespace :fias do
desc 'Create FIAS tables (PREFIX, FIAS_PATH to dbfs, DATABASE_URL and TABLES)'
task :create_tables do
within_connection do |tables|
tables.create
begin
tables.create
rescue =>err
puts err
end
puts "#{tables.files.keys.join(', ')} created."
end
end
Expand Down