Parent Directory | Revision Log | Patch
revision 1.3 by jcater, Wed Jun 25 23:09:50 2003 UTC | revision 1.4 by jcater, Sat Jun 28 05:52:22 2003 UTC | |
---|---|---|
# | Line 37 class Processor(BaseProcessor): | Line 37 class Processor(BaseProcessor): |
37 | return "date" | return "date" |
38 | ||
39 | def text(self, object): | def text(self, object): |
40 | return "long" | if hasattr(object,'length') and object.length <= 2000: |
41 | return "varchar2(%s)" % object.length | |
42 | else: | |
43 | return "long" | |
44 | ||
45 | def key(self, object): | def key(self, object): |
46 | return "number(%s)" % _PK_PRECISION | return "number(%s)" % _PK_PRECISION |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |