mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
add support for hidden api keys, used in hosting scenarios
This commit is contained in:
7
db/migrate/20141120043401_add_hidden_to_api_keys.rb
Normal file
7
db/migrate/20141120043401_add_hidden_to_api_keys.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class AddHiddenToApiKeys < ActiveRecord::Migration
|
||||
def change
|
||||
change_table :api_keys do |t|
|
||||
t.boolean :hidden, null: false, default: false
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user