so with all this discussion on dates and mysql, I thought I would look at what
was happening with postgresql. so my migration goes like this:
ERXMigrationTable invoiceTable = database.newTableNamed("t_invoice");
invoiceTable.newIntegerColumn("id", false);
invoiceTable.newTimestampColumn("c_invoice_booked_date", false);
invoiceTable.newLargeStringColumn("c_notes", true);
invoiceTable.create();
invoiceTable.setPrimaryKey("id");
the column c_invoice_booked_date was specified as;
Prototype: date
Data Type: Date
external type: timestamp (even if I change this to 'date' it does no good)
what I get in the backend is a "timestamp without time zone".
so unless someone is going to say, "use this migration type xxx", I can not get
a 'date' type column in postgresql either.
or I don't understand the conversation.
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]