Sha256: 58afaa393e4e5c35ab8a23e09829152ddb502a2d2f7bf00f4e54d8219bbcfe15
Contents?: true
Size: 303 Bytes
Versions: 10
Compression:
Stored size: 303 Bytes
Contents
class LinkTicketsAndReleases < ActiveRecord::Migration def up create_table :releases_tickets, :id => false do |t| t.references :release, :ticket end add_index :releases_tickets, [:release_id, :ticket_id], :unique => true end def down drop_table :releases_tickets end end
Version data entries
10 entries across 10 versions & 1 rubygems