aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/migrations/tables/oauth_data
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/migrations/tables/oauth_data')
-rw-r--r--pysite/migrations/tables/oauth_data/__init__.py0
-rw-r--r--pysite/migrations/tables/oauth_data/v1.py13
2 files changed, 0 insertions, 13 deletions
diff --git a/pysite/migrations/tables/oauth_data/__init__.py b/pysite/migrations/tables/oauth_data/__init__.py
deleted file mode 100644
index e69de29b..00000000
--- a/pysite/migrations/tables/oauth_data/__init__.py
+++ /dev/null
diff --git a/pysite/migrations/tables/oauth_data/v1.py b/pysite/migrations/tables/oauth_data/v1.py
deleted file mode 100644
index 9ace6bf9..00000000
--- a/pysite/migrations/tables/oauth_data/v1.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from rethinkdb import ReqlOpFailedError
-
-
-def run(db, table, table_obj):
- """
- Create a secondary index on the "snowflake" key, so we can easily get documents by matching that key
- """
-
- try:
- db.run(db.query(table).index_create("snowflake"))
- db.run(db.query(table).index_wait("snowflake"))
- except ReqlOpFailedError:
- print("Index already exists.")