Sha256: 32555000c47446662d43ca7e8a5a3d0d189bcb79fbac7a3acc62dfef2fefaf28
Contents?: true
Size: 624 Bytes
Versions: 11
Compression:
Stored size: 624 Bytes
Contents
class CreateImages < ActiveRecord::Migration def self.up create_table :images do |t| t.column :name, :string t.column :filename, :string t.column :content_type, :string t.column :original_size, :string t.column :hotspot, :string t.column :sha1_hash, :string t.column :cropped, :boolean, :null => false, :default => false t.column :crop_start, :string t.column :crop_size, :string t.column :created_at, :datetime t.column :updated_at, :datetime end end def self.down drop_table :images end end
Version data entries
11 entries across 11 versions & 1 rubygems