Farmbot-Web-App/db/migrate/20180404165355_create_sequence_tools_view.rb

10 lines
352 B
Ruby
Raw Normal View History

2018-04-04 12:01:07 -06:00
class CreateSequenceToolsView < ActiveRecord::Migration[5.1]
safety_assured
2018-04-10 13:43:27 -06:00
def change
# I goofed up on this migration and deployed to staging before I could fix.
# See later migration that creates a new view using the `scenic` gem.
2018-04-04 14:54:28 -06:00
execute "DROP VIEW IF EXISTS in_use_tools;"
execute "DROP VIEW IF EXISTS in_use_points;"
2018-04-04 12:01:07 -06:00
end
end