Sha256: a7340415b886626a684bcd6c83bf541dc51db77e7344e86913340ab12615a117
Contents?: true
Size: 593 Bytes
Versions: 32
Compression:
Stored size: 593 Bytes
Contents
class CreateRefinerycmsImagesSchema < ActiveRecord::Migration def self.up create_table ::Image.table_name, :force => true do |t| t.string "image_mime_type" t.string "image_name" t.integer "image_size" t.integer "image_width" t.integer "image_height" t.datetime "created_at" t.datetime "updated_at" t.string "image_uid" t.string "image_ext" end end def self.down [::Image].reject{|m| !(defined?(m) and m.respond_to?(:table_name)) }.each do |model| drop_table model.table_name end end end
Version data entries
32 entries across 32 versions & 2 rubygems