Sha256: f46be3b03cea462beb6e49c100053b2cbb8fb6d5d97ff34b1f447b5d7896e11b
Contents?: true
Size: 395 Bytes
Versions: 57
Compression:
Stored size: 395 Bytes
Contents
class CreatePaperclipAttributes < ActiveRecord::Migration def self.up add_column :assets, :asset_file_name, :string add_column :assets, :asset_content_type, :string add_column :assets, :asset_file_size, :integer end def self.down remove_column :assets, :asset_file_name remove_column :assets, :asset_content_type remove_column :assets, :asset_file_size end end
Version data entries
57 entries across 57 versions & 5 rubygems