Skip to content
Permalink
Browse files
dbmanager: use a default value for varchar limit (follow a4484b2)
  • Loading branch information
brushtyler committed Nov 29, 2012
1 parent 8260eab commit 796a15ac9df903b8eb3662f4b6f0dec1d3e6994f
@@ -151,7 +151,7 @@ def fieldTypes(self):
"integer", "bigint", "smallint", # integers
"serial", "bigserial", # auto-incrementing ints
"real", "double precision", "numeric", # floats
"varchar", "varchar(n)", "char(n)", "text", # strings
"varchar", "varchar(255)", "char(20)", "text", # strings
"date", "time", "timestamp" # date/time
]

@@ -121,7 +121,7 @@ def fieldTypes(self):
return [
"integer", "bigint", "smallint", # integers
"real", "double", "float", "numeric", # floats
"varchar", "varchar(n)", "character(n)", "text", # strings
"varchar", "varchar(255)", "character(20)", "text", # strings
"date", "datetime" # date/time
]

0 comments on commit 796a15a

Please sign in to comment.