Farmbot-Web-App/db/migrate/20180202165503_change_primary_node_column_names.rb

8 lines
212 B
Ruby
Raw Normal View History

class ChangePrimaryNodeColumnNames < ActiveRecord::Migration[5.1]
safety_assured
def change
add_reference :primary_nodes, :next, index: true
add_reference :primary_nodes, :body, index: true
end
end