Skip to content

Commit

Permalink
Fixing error on database for some foreing keys in SCMLog
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbarah committed May 1, 2015
1 parent 6669410 commit 9a28566
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grimoirelib_alch/query/scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ def _create_tables(self, tables = None, tables_id = None):
schemaname = self.schema,
columns = dict (
author_id = Column(Integer,
ForeignKey(self.schema_id + '.' + 'people.id')
ForeignKey(self.schema + '.' + 'people.id')
),
committer_id = Column(Integer,
ForeignKey(self.schema_id + '.' + 'people.id')
ForeignKey(self.schema + '.' + 'people.id')
),
repository_id = Column(Integer,
ForeignKey(self.schema_id + '.' +
ForeignKey(self.schema + '.' +
'repositories.id')
),
))
Expand Down

0 comments on commit 9a28566

Please sign in to comment.