summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/firebird.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-01-05 22:59:18 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-01-05 22:59:18 +0000
commit8fe38c7e956675eb9b6c859848200d8dcc7a9589 (patch)
tree922a48aafb9fece7e9b4b9fde469d46c389d1692 /lib/sqlalchemy/databases/firebird.py
parent68a9e6cb1fc53d6a989fa3ef6febcbe7ee304ebd (diff)
downloadsqlalchemy-8fe38c7e956675eb9b6c859848200d8dcc7a9589.tar.gz
- changed name of TEXT to Text since its a "generic" type; TEXT name is
deprecated until 0.5. The "upgrading" behavior of String to Text when no length is present is also deprecated until 0.5; will issue a warning when used for CREATE TABLE statements (String with no length for SQL expression purposes is still fine) [ticket:912]
Diffstat (limited to 'lib/sqlalchemy/databases/firebird.py')
-rw-r--r--lib/sqlalchemy/databases/firebird.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py
index 9dca32a33..247400179 100644
--- a/lib/sqlalchemy/databases/firebird.py
+++ b/lib/sqlalchemy/databases/firebird.py
@@ -177,7 +177,7 @@ class FBTime(sqltypes.Time):
return "TIME"
-class FBText(sqltypes.TEXT):
+class FBText(sqltypes.Text):
"""Handle ``BLOB SUB_TYPE 1`` datatype (aka *textual* blob)."""
def get_col_spec(self):
@@ -223,7 +223,7 @@ colspecs = {
sqltypes.String : FBString,
sqltypes.Binary : FBBinary,
sqltypes.Boolean : FBBoolean,
- sqltypes.TEXT : FBText,
+ sqltypes.Text : FBText,
sqltypes.CHAR: FBChar,
}