Sha256: 44d89f79592fddd51eaf323af5bab399bf830fba408620c0d1b96199e925a93c
Contents?: true
Size: 502 Bytes
Versions: 8
Compression:
Stored size: 502 Bytes
Contents
class AddAttachmentAvatarToPapers < ActiveRecord::Migration def self.up add_column :papers, :avatar_file_name, :string add_column :papers, :avatar_content_type, :string add_column :papers, :avatar_file_size, :integer add_column :papers, :avatar_updated_at, :datetime end def self.down remove_column :papers, :avatar_file_name remove_column :papers, :avatar_content_type remove_column :papers, :avatar_file_size remove_column :papers, :avatar_updated_at end end
Version data entries
8 entries across 8 versions & 1 rubygems