Sha256: 32e2682a26b9423c1c1e8a9e1326dd3ea27d17371a41200e5e2b764da191a1bd

Contents?: true

Size: 301 Bytes

Versions: 12

Compression:

Stored size: 301 Bytes

Contents

class CreateApidaeAttachedFiles < ActiveRecord::Migration
  def change
    create_table :apidae_attached_files do |t|
      t.string :name
      t.string :credits
      t.text :description
      t.integer :apidae_object_id
      t.attachment :picture

      t.timestamps null: false
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
apidae-0.1.6 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.1.5 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.2.3 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.2.2 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.2.1 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.2.0 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.1.4 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.1.3 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.1.2 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.1.1 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.1.0 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-engine-rails-0.1.0 db/migrate/20170513121215_create_apidae_attached_files.rb