1. Purpose 2. Changes |
3. Copying 4. Requirements 5. Downloading |
sqlupdate v1.6.5 - 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.
In version 1.6.4, a bug in the support of ENUM
was fixed.
Thanks to Martin Vít for this change!
In version 1.6.5, support was added for different index types in PRIMARY KEY
.
In version 1.6.6, support was added for BIT
, COMMENT
, SET
,
TINYTEXT
and CURRENT_TIMESTAMP
.
Thanks to Markus Ebeling for this change!
Generated from
progdesc.php (last updated: Sat, 25 Feb 2012 14:03:15 +0200)
with docmaker.php (last updated: Sat, 25 Feb 2012 14:03:15 +0200)
at Sat, 25 Feb 2012 14:03:15 +0200