Merge pull request #544 from niphlod/fix/2013

fix issue with rname and oracle. Thanks @fernando. Fixes #2013
This commit is contained in:
mdipierro
2014-11-16 23:17:41 -06:00
+1 -1
View File
@@ -136,7 +136,7 @@ class OracleAdapter(BaseAdapter):
return self.log_execute(command, args)
def create_sequence_and_triggers(self, query, table, **args):
tablename = table._tablename
tablename = table._rname or table._tablename
id_name = table._id.name
sequence_name = table._sequence_name
trigger_name = table._trigger_name