Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 14261
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: Sun Jun 08 01:01:46 CEST 2025

Total time taken to generate the page: 0.13819 seconds