Sha256: c2cccd8a3abb7a1657f8854e1db36214c1df29db4f18a967f529eced657ebef9
Contents?: true
Size: 389 Bytes
Versions: 5
Compression:
Stored size: 389 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 end end def self.down drop_table :images end end
Version data entries
5 entries across 5 versions & 2 rubygems