summaryrefslogtreecommitdiff
path: root/db/migrate/20230222010138_create_user_accounts.rb
blob: e9e0036359d5faba7471be692f5d7e291f187479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

# CreateUserAccount migration.
class CreateUserAccounts < ActiveRecord::Migration[7.0]
  def change
    create_table :user_accounts do |t|
      t.string :email
      t.string :password_digest
      t.string :first_name
      t.string :last_name
      t.string :session_key

      t.timestamps
    end
  end
end