1. Purpose 2. Changes |
3. Copying 4. Requirements 5. Downloading |
sqlupdate v1.6.3 - Copyright (C) Joel Yliluoma (http://iki.fi/bisqwit/) Usage: sqlupdate [options] >changes.sql (Creates an update script) Options: -t tablefile Describes the file containing the new sql layout. Default: tables.sql -d database Default: winnie3 -h host Default: localhost -u user Default: root -i Use CREATE INDEX instead of ALTER..ADD KEY -m Add comments explaining the differences -c Ignore character set differences -p pass -r Reverse operation. (new->old) Example: ./sqlupdate -t etimgr.sql -d etimgr | mysql -uroot This program does not update a database. It only produces update scripts (which show the differences).
FOREIGN KEY
constraints.
Since version 1.4.0, supports TINYINT
, DATE
, TIME
and ENUM
types.
Thanks to Leigh Purdie for this change!
Version 1.4.1 adds support for CREATE INDEX
and field ordering.
Since version 1.5.0, supports LONGTEXT
, MEDIUMTEXT
and MEDIUMBLOB
. Also now longer forces DEFAULT
for
AUTOINCREMENT
columns.
Thanks to Frederic Lamsens for this change!
In version 1.6.0, a crude support for CHARSET
and COLLATE
was added.
In version 1.6.1, support for GEOMETRY
and SPATIAL
indexes was added.
Version 1.6.2: Added -c option (ignore character set differences).
In version 1.6.3, support for more spatial datatypes was added.
Generated from
progdesc.php (last updated: Wed, 02 Aug 2006 14:53:15 +0300)
with docmaker.php (last updated: Sun, 12 Jun 2005 06:08:02 +0300)
at Wed, 02 Aug 2006 14:53:18 +0300