Sha256: 631485eed4e3fdfb6142f53cbe97a4c0522757d385a212315c7a21199e1b1d9c

Contents?: true

Size: 229 Bytes

Versions: 49

Compression:

Stored size: 229 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.references :user, index: true
      t.references :ticket, index: true
      t.text :body

      t.timestamps
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
tawork-0.0.50 db/migrate/20131211034104_create_comments.rb
tawork-0.0.49 db/migrate/20131211034104_create_comments.rb
tawork-0.0.48 db/migrate/20131211034104_create_comments.rb
tawork-0.0.47 db/migrate/20131211034104_create_comments.rb
tawork-0.0.46 db/migrate/20131211034104_create_comments.rb
tawork-0.0.45 db/migrate/20131211034104_create_comments.rb
tawork-0.0.44 db/migrate/20131211034104_create_comments.rb
tawork-0.0.43 db/migrate/20131211034104_create_comments.rb
tawork-0.0.42 db/migrate/20131211034104_create_comments.rb
tawork-0.0.41 db/migrate/20131211034104_create_comments.rb
tawork-0.0.40 db/migrate/20131211034104_create_comments.rb
tawork-0.0.39 db/migrate/20131211034104_create_comments.rb
tawork-0.0.38 db/migrate/20131211034104_create_comments.rb
tawork-0.0.37 db/migrate/20131211034104_create_comments.rb
tawork-0.0.36 db/migrate/20131211034104_create_comments.rb
tawork-0.0.35 db/migrate/20131211034104_create_comments.rb
tawork-0.0.34 db/migrate/20131211034104_create_comments.rb
tawork-0.0.33 db/migrate/20131211034104_create_comments.rb
tawork-0.0.31 db/migrate/20131211034104_create_comments.rb
tawork-0.0.30 db/migrate/20131211034104_create_comments.rb