summaryrefslogtreecommitdiffhomepage
path: root/rails-backend/db/migrate/20240519191604_create_users.rb
blob: d1fa19207fde4394da23f1f14702f203fc7a9ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateUsers < ActiveRecord::Migration[7.1]
  def change
    create_table :users do |t|
      t.string :user_name # we need this for game urls
      t.string :identifier
      t.string :access_token_digest
      t.json :user_data

      t.timestamps
    end
    #add_index :users, :identifier, unique: true
  end
end