self refernces, issue 353, 'refernce .', thanks eenns
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-06-05 17:37:37) dev
|
||||
Version 2.00.0 (2012-06-05 17:38:13) dev
|
||||
|
||||
+1
-1
@@ -642,7 +642,7 @@ class BaseAdapter(ConnectionPool):
|
||||
referenced = tablename
|
||||
constraint_name = self.constraint_name(tablename, field.name)
|
||||
if not '.' in referenced \
|
||||
and referenced != tablename) \
|
||||
and referenced != tablename \
|
||||
and hasattr(table,'_primarykey'):
|
||||
ftype = self.types['integer']
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user