Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Commit ae0cf92

Browse files
author
Allen Short
committed
patch waffle bridge table names too. (bug 899282)
1 parent 91b51cb commit ae0cf92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/amo/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ def patch_waffle():
2828
if suffix:
2929
for m in [waffle.Flag, waffle.Switch, waffle.Sample]:
3030
m._meta.db_table = '%s_%s' % (m._meta.db_table, suffix)
31+
waffle.Flag.users.through._meta.db_table = '%s_users' % (
32+
waffle.Flag._meta.db_table,)
33+
waffle.Flag.groups.through._meta.db_table = '%s_groups' % (
34+
waffle.Flag._meta.db_table,)
3135

3236
patch_waffle()
3337

0 commit comments

Comments
 (0)