Hi all,

I have a sa model working with postgres, here is a code fragment:

class Test(Base):
        __tablename__ = 'test'

        fileld1= Column(Unicode(40), nullable=False, primary_key=True)
        date = Column(DateTime, nullable=False)


in postgres the sqltypes.DateTime is converted in:

date timestamp without time zone NOT NULL

I tryed to port my model to oracle and I found the same column has
been translated in:

"DATE" DATE NOT NULL

I think it should be:

"DATE" TIMESTAMP NOT NULL

to have the same type between oracle and postgres,

any hints?


--

You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.


Reply via email to