Sha256: 9ddb5d983240757afd7c1368c65dc85a9b96be7a03caf314a632a52d5b7c3469
Contents?: true
Size: 219 Bytes
Versions: 32
Compression:
Stored size: 219 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.references :account, null: false t.timestamps end add_index :users, :account_id, :unique => true end end
Version data entries
32 entries across 32 versions & 1 rubygems