Sha256: edc7d807fe3f0576c094867fbf2d71a68d1118c69bd435db4d38d55a464b8e66

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

class CreateWatchtowerTaggings < ActiveRecord::Migration
  def change
    create_table :watchtower_taggings do |t|
      t.references :contact
      t.references :tag

      t.timestamps
    end
    add_index :watchtower_taggings, :contact_id
    add_index :watchtower_taggings, :tag_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watchtower-0.0.1 db/migrate/20120617073423_create_watchtower_taggings.rb