cirandas.net

ref: master

db/migrate/20150603182105_add_label_to_image.rb


1
2
3
4
5
6
7
8
class AddLabelToImage < ActiveRecord::Migration
  def up
    add_column :images, :label, :string, :default => ""
  end
  def down
    remove_column :images, :label
  end
end