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

Version Path
trusty-clipped-extension-3.0.0 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.15 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.14 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.13 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.12 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.11 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.10 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.9 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.8 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.7 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.6 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.5 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.4 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.3.pre.beta db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.2.pre.beta db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.1.pre.beta db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-2.0.0.pre.beta db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-1.1.1 db/migrate/002_create_paperclip_attributes.rb
trusty-clipped-extension-1.1.0 db/migrate/002_create_paperclip_attributes.rb
radiant-clipped-extension-1.1.2 db/migrate/002_create_paperclip_attributes.rb