diff --git a/migrations/116_add_api_key_index.rb b/migrations/116_add_api_key_index.rb new file mode 100644 index 00000000..95b4ca48 --- /dev/null +++ b/migrations/116_add_api_key_index.rb @@ -0,0 +1,9 @@ +Sequel.migration do + up { + DB.add_index :sites, :api_key + } + + down { + DB.drop_index :sites, :api_key + } + end \ No newline at end of file