Farmbot-Web-App/db/migrate/20180404165355_create_seque...

10 lines
352 B
Ruby

class CreateSequenceToolsView < ActiveRecord::Migration[5.1]
safety_assured
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.
execute "DROP VIEW IF EXISTS in_use_tools;"
execute "DROP VIEW IF EXISTS in_use_points;"
end
end