From a55a00f5c305d492de0027f881717292793f5652 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Wed, 18 Nov 2020 22:00:09 -0600 Subject: [PATCH] api key index --- migrations/116_add_api_key_index.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 migrations/116_add_api_key_index.rb 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