Sha256: 853f4b24f8b58dfafc3b3f373fd9f55a4e06af8c9fcfd2f1c173a9462551d6e3

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

class CreateProclaimImages < ActiveRecord::Migration
  def change
    create_table :proclaim_images do |t|
      t.belongs_to :post, index: true
      t.string :image

      t.timestamps null: false
    end

    add_foreign_key :proclaim_images, :posts
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
proclaim-0.1.2 db/migrate/20141222224905_create_proclaim_images.rb
proclaim-0.1.1 db/migrate/20141222224905_create_proclaim_images.rb
proclaim-0.1.0 db/migrate/20141222224905_create_proclaim_images.rb