10_create_users.rb � ���U PE���U class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.references :user_account t.timestamps null: false end end end 20_create_user_accounts.rb @�f��U ���U class CreateUserAccounts < ActiveRecord::Migration def change create_table :user_accounts do |t| t.string :email t.string :encrypted_password t.boolean :admin, null:
![FactoryGirlのtransientとtraitのサンプル](https://cdn-ak-scissors.b.st-hatena.com/image/square/1ef26f6cb4349557952890dbe3e567f7f98dc151/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fassets%2Fgist-og-image-54fd7dc0713e.png)