mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-14 12:47:22 -04:00
added *extra to mysql string type to consume extra unsupported arguments from reflection
This commit is contained in:
@@ -63,6 +63,8 @@ class MSText(sqltypes.TEXT):
|
||||
def get_col_spec(self):
|
||||
return "TEXT"
|
||||
class MSString(sqltypes.String):
|
||||
def __init__(self, length=None, *extra):
|
||||
sqltypes.String.__init__(self, length=length)
|
||||
def get_col_spec(self):
|
||||
return "VARCHAR(%(length)s)" % {'length' : self.length}
|
||||
class MSChar(sqltypes.CHAR):
|
||||
|
||||
Reference in New Issue
Block a user