mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
api key index
This commit is contained in:
parent
1d76a0c45d
commit
a55a00f5c3
1 changed files with 9 additions and 0 deletions
9
migrations/116_add_api_key_index.rb
Normal file
9
migrations/116_add_api_key_index.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_index :sites, :api_key
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_index :sites, :api_key
|
||||
}
|
||||
end
|
Loading…
Add table
Reference in a new issue