Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
58a0e3c8
Commit
58a0e3c8
authored
Sep 30, 2011
by
Arno Töll
Browse files
Fix table type for many-to-many helper table
parent
b8056faf
Changes
1
Show whitespace changes
Inline
Side-by-side
debexpo/model/sponsor_metrics.py
View file @
58a0e3c8
...
@@ -68,7 +68,7 @@ t_sponsor_tags = sa.Table(
...
@@ -68,7 +68,7 @@ t_sponsor_tags = sa.Table(
t_sponsor_metrics_tags
=
sa
.
Table
(
t_sponsor_metrics_tags
=
sa
.
Table
(
'sponsor_metrics_tags'
,
meta
.
metadata
,
'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
(
'user_id'
,
sa
.
Integer
,
sa
.
ForeignKey
(
'sponsor_metrics.user_id'
),
primary_key
=
True
),
sa
.
Column
(
'weight'
,
sa
.
Integer
),
sa
.
Column
(
'weight'
,
sa
.
Integer
),
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment