mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
6 lines
123 B
Ruby
6 lines
123 B
Ruby
|
class AddIndexUsernameToUser < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :users, :username, unique: true
|
||
|
end
|
||
|
end
|