U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » Automatic Upgrade MySQL schema
Re: Automatic Upgrade MySQL schema [message #37424 is a reply to message #37423] Tue, 02 October 2012 12:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Upgrade schema, in its current state, is not meant to change column types (which is sort of unusual operation anyway and not all DBs support it easily in all cases), but only to add new columns.

That way, I believe this part of examples is relevant:

Quote:


To add a new TIMESTAMP column named d:

ALTER TABLE t2 ADD d TIMESTAMP;



Mirke
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: XmlNode and text
Next Topic: List DSN in ODBC
Goto Forum:
  


Current Time: Fri Nov 06 11:42:07 GMT+1 2026

Total time taken to generate the page: 0.00644 seconds