Sha256: 6254a2c4fd2855586b0109b53d59c55eaed385c87b444e86ed90c307018e9eb7
Contents?: true
Size: 447 Bytes
Versions: 4
Compression:
Stored size: 447 Bytes
Contents
# Author :: Tom Statter # Date :: Oct 2012 # License:: MIT # # Details:: Migration for paperclip specs class AddDigitals < ActiveRecord::Migration def self.up create_table :digitals do |t| t.integer :owner_id t.string :attachment_file_name t.string :attachment_content_type t.integer :attachment_file_size t.timestamps null: false end end def self.down drop_table :digitals end end
Version data entries
4 entries across 2 versions & 1 rubygems