Sha256: d27e16746c9467796a7591fb8817271bd88d39d47aab60acb09325baeae16936

Contents?: true

Size: 338 Bytes

Versions: 73

Compression:

Stored size: 338 Bytes

Contents

class CreateImages < ActiveRecord::Migration
  def self.up
    create_table :images do |t|
      t.string :image_file_name
      t.string :image_content_type
      t.integer :image_file_size
      t.datetime :image_updated_at
      t.integer :gallery_id
      t.timestamps
    end
  end

  def self.down
    drop_table :images
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
wheels-0.1.30 db/migrate/0040_create_images.rb
wheels-0.1.28 db/migrate/0040_create_images.rb
wheels-0.1.27 db/migrate/0040_create_images.rb
wheels-0.1.25 db/migrate/0040_create_images.rb
wheels-0.1.24 db/migrate/0040_create_images.rb
wheels-0.1.23 db/migrate/0040_create_images.rb
wheels-0.1.22 db/migrate/0040_create_images.rb
wheels-0.1.21 db/migrate/0040_create_images.rb
wheels-0.1.20 db/migrate/0040_create_images.rb
wheels-0.1.19 db/migrate/0040_create_images.rb
wheels-0.1.18 db/migrate/0040_create_images.rb
wheels-0.1.17 db/migrate/0040_create_images.rb
wheels-0.1.16 db/migrate/0040_create_images.rb
wheels-0.1.15 db/migrate/0040_create_images.rb
wheels-0.1.14 db/migrate/0040_create_images.rb
wheels-0.1.13 db/migrate/0040_create_images.rb
wheels-0.1.12 db/migrate/0040_create_images.rb
wheels-0.1.10 db/migrate/0040_create_images.rb
wheels-0.1.9 db/migrate/0040_create_images.rb
wheels-0.1.8 db/migrate/0040_create_images.rb