Sha256: 780ca59e3515fa10e7acda7f20b5db3c79545d2ef08ff96d9bf530371999d34c
Contents?: true
Size: 415 Bytes
Versions: 22
Compression:
Stored size: 415 Bytes
Contents
class CreateImages < ActiveRecord::Migration def self.up create_table :images do |t| t.integer :viewable_id t.string :viewable_type t.integer :parent_id t.string :content_type t.string :filename t.integer :size t.integer :height t.integer :width t.string :thumbnail t.integer :position end end def self.down drop_table :images end end
Version data entries
22 entries across 22 versions & 3 rubygems