forked from openlp/openlp
Hopefully the final fix to all our database woes.
bzr-revno: 1820
This commit is contained in:
commit
90d8b211d9
@ -145,6 +145,7 @@ class OpenLPSongImport(SongImport):
|
|||||||
else:
|
else:
|
||||||
song_props['media_files'] = relation(OldMediaFile,
|
song_props['media_files'] = relation(OldMediaFile,
|
||||||
backref='songs',
|
backref='songs',
|
||||||
|
foreign_keys=[source_media_files_table.c.song_id],
|
||||||
primaryjoin=source_songs_table.c.id == \
|
primaryjoin=source_songs_table.c.id == \
|
||||||
source_media_files_table.c.song_id)
|
source_media_files_table.c.song_id)
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user