Sha256: 0aee05e559dd24f36bd7c9feac6372830a9724efc56ed86daf367a1328df5905
Contents?: true
Size: 287 Bytes
Versions: 6
Compression:
Stored size: 287 Bytes
Contents
class AddDescriptionAndAltToAttachments < ActiveRecord::Migration def self.up add_column :attachments, :description, :text add_column :attachments, :alt, :string end def self.down remove_column :attachments, :alt remove_column :attachments, :description end end
Version data entries
6 entries across 6 versions & 1 rubygems