mirror of
https://github.com/go-gitnub/gitnub.git
synced 2025-12-01 18:27:10 +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
|