Sha256: c3bd041466d41969954ed2b9ee4e2e812a5d456f1e811a3effabbfadcafa219b

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

class CreateApidaeAttachedFiles < ActiveRecord::Migration[4.2]
  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

2 entries across 2 versions & 1 rubygems

Version Path
apidae-0.7.5 db/migrate/20170513121215_create_apidae_attached_files.rb
apidae-0.7.4 db/migrate/20170513121215_create_apidae_attached_files.rb