price-point-api/db/migrate/20260530211142_add_token_to_users.rb
Mohammad Kanaan 54bdd52e75
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
feat: add user auth and bcrypt gem with related schema updates
2026-05-31 00:27:35 +03:00

6 lines
158 B
Ruby

class AddTokenToUsers < ActiveRecord::Migration[8.0]
def change
add_column :users, :token, :string
add_index :users, :token, unique: true
end
end