fixed bug in recent commit, thanks Olivier Johner

This commit is contained in:
mdipierro
2013-07-16 05:19:13 -05:00
parent 0eb0619c0c
commit acbdeca03b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.07.15.09.33.15
Version 2.6.0-development+timestamp.2013.07.16.05.17.59
+1 -1
View File
@@ -8307,7 +8307,7 @@ class Table(object):
field_type = self if same_db else 'bigint'
clones = []
for field in self:
nfk = same_db or field.type.startswith('reference')
nfk = same_db or not field.type.startswith('reference')
clones.append(field.clone(
unique=False, type=field.type if nfk else 'bigint'))
archive_db.define_table(