Sha256: 0a0aee3750dab36c889acaf3e496fb21d87aad3d3014890747d7243ad6c4bf4a
Contents?: true
Size: 269 Bytes
Versions: 19
Compression:
Stored size: 269 Bytes
Contents
class AddNonPkTable < ActiveRecord::Migration[4.2] def change create_table :projects_users, id: false do |t| t.integer :project_id t.integer :user_id end add_index :projects_users, :project_id add_index :projects_users, :user_id end end
Version data entries
19 entries across 19 versions & 2 rubygems