mirror of
https://github.com/go-gitnub/gitnub.git
synced 2025-05-21 09:01:05 +00:00
8 lines
161 B
Ruby
8 lines
161 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddUsernameIndexToUsers < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_index :users, :username, unique: true
|
|
end
|
|
end
|