summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-03 17:59:11 -0400
committerDavid Gay <david@davidgay.org>2021-05-03 17:59:11 -0400
commite8b4bf1c123ac973cf8c7fc64d9b137b5347d334 (patch)
tree5fddb6b31076d5ea64a442951c3b8ef269115d83 /db/migrate
parent1b2de86007508ba86c6c9cb99fbdcac178045131 (diff)
Add gid indicies
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20210503215828_add_gid_indicies.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20210503215828_add_gid_indicies.rb b/db/migrate/20210503215828_add_gid_indicies.rb
new file mode 100644
index 0000000..3568f55
--- /dev/null
+++ b/db/migrate/20210503215828_add_gid_indicies.rb
@@ -0,0 +1,7 @@
+class AddGidIndicies < ActiveRecord::Migration[6.1]
+ def change
+ add_index :activities, :gid
+ add_index :items, :gid
+ add_index :skills, :gid
+ end
+end