Sha256: b9cb68bc3145457eb5c00fe8e3ff117a63bdbb2f03c301ea3dd4d83ba35bfcb9
Contents?: true
Size: 303 Bytes
Versions: 5
Compression:
Stored size: 303 Bytes
Contents
class Binary < ActiveRecord::Base end class BinaryMigration < ActiveRecord::Migration def self.up create_table :binaries, :force => true do |t| t.string :name t.binary :data t.binary :short_data, :limit => 2048 end end def self.down drop_table :binaries end end
Version data entries
5 entries across 5 versions & 1 rubygems