about summary refs log blame commit diff
path: root/db/migrate/20170125145934_add_spoiler_text_to_statuses.rb
blob: 2c43210babdff86e06f98c851f7ee50aabd961d4 (plain) (tree)
1
2
3
4
5
                                                             
                                                                        
     
class AddSpoilerTextToStatuses < ActiveRecord::Migration[5.0]
  def change
    add_column :statuses, :spoiler_text, :text, default: "", null: false
  end
end