Commit 58a0e3c8 authored by Arno Töll's avatar Arno Töll
Browse files

Fix table type for many-to-many helper table

parent b8056faf
......@@ -68,7 +68,7 @@ t_sponsor_tags = sa.Table(
t_sponsor_metrics_tags = sa.Table(
'sponsor_metrics_tags', meta.metadata,
sa.Column('tag', sa.Integer, sa.ForeignKey('sponsor_tags.tag'), primary_key=True),
sa.Column('tag', sa.Text, sa.ForeignKey('sponsor_tags.tag'), primary_key=True),
sa.Column('user_id', sa.Integer, sa.ForeignKey('sponsor_metrics.user_id'), primary_key=True),
sa.Column('weight', sa.Integer),
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment