Farmbot-Web-App/db/migrate/20180606131907_increase_comment_length.rb

11 lines
240 B
Ruby
Raw Normal View History

2018-06-06 07:23:31 -06:00
class IncreaseCommentLength < ActiveRecord::Migration[5.2]
safety_assured
2018-06-06 07:23:31 -06:00
def up
change_column :primary_nodes, :comment, :string, limit: 240
end
def down
change_column :primary_nodes, :comment, :string, limit: 80
end
end