mirror of
https://github.com/moebooru/moebooru
synced 2025-08-22 01:47:48 +00:00
6 lines
122 B
Ruby
6 lines
122 B
Ruby
class AddIndexToApiKey < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_index :users, :api_key, unique: true
|
|
end
|
|
end
|