mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
reddit_gold table: index on secret non-unique
This commit is contained in:
@@ -81,7 +81,7 @@ gold_table = sa.Table('reddit_gold', METADATA,
|
||||
indices = [index_str(gold_table, 'status', 'status'),
|
||||
index_str(gold_table, 'date', 'date'),
|
||||
index_str(gold_table, 'account_id', 'account_id'),
|
||||
index_str(gold_table, 'secret', 'secret', unique = True),
|
||||
index_str(gold_table, 'secret', 'secret'),
|
||||
index_str(gold_table, 'payer_email', 'payer_email'),
|
||||
index_str(gold_table, 'subscr_id', 'subscr_id')]
|
||||
create_table(gold_table, indices)
|
||||
|
||||
Reference in New Issue
Block a user