Add support for COLLATE table option to MySQL parser
[dbsrgits/SQL-Translator.git] / Changes
CommitLineData
da5a1bae 1
a7f49dfb 2* Add support for COLLATE table option to MySQL parser
3
da5a1bae 4# -----------------------------------------------------------
11bebd6e 5# 0.0899_02 2008-01-29
6# ----------------------------------------------------------
7
8* Major refactoring of SQL::Translator::Diff again:
9* Diff is no longer one huge monolithic function.
10* Added more tests for diff
11* When producing diffs for MySQL you will (by default) get single alter statements per table
12* SQLite can also do remove columns (by creating a temp table as shown in http://sqlite.org/faq.html#q11
13* Columns can be renamed if the new schema is from a form that can have metadata (which is pretty much anything but an SQL file.) It does this by looking at renamed_from in the $field->extra
14* Updated Oracle and Postgres producers
15* More tests!
16
17# -----------------------------------------------------------
da5a1bae 18# 0.0899_01 2007-10-21
19# ----------------------------------------------------------
20
21* SQL::Translator::Diff now uses the ::Producer modules to create diffs
22 This *will* break back-compatibility
23 Use sqlt-diff-old for the previous one, and fix producers!
24
18a8d640 25# -----------------------------------------------------------
f51d8e46 26# 0.08001 2007-09-26
27# ----------------------------------------------------------
28
29* Patched to ignore all TT versions >= 2.15 until TT is fixed :(
30
31# -----------------------------------------------------------
32# 0.08 2006-12-07
33# -----------------------------------------------------------
34
35* Patched 18ttschema-producer.t and 33tt-table-producter.t to skip on TT 2.15, thanks Ash!
36
37# -----------------------------------------------------------
af27376e 38# 0.08_04 2006-11-10
39# -----------------------------------------------------------
40
fb149f81 41* Patched MySQL producer to name constraints sanely, thanks Ash
af27376e 42* Added patch to Producer::DB2 to avoid dependency issues with foreign keys
43* Added patch to remove single quotes for numeric default values in Producer::DB2
44* Fixed Parser::SQLite to require a semicolon after a create trigger statement
ca1b7c76 45* Added patch from avinash to add CASCADE to pg table drops
af27376e 46
47# -----------------------------------------------------------
f39e9c12 48# 0.08_03
49# -----------------------------------------------------------
50
51* Added patch to use default values for Pg timestamp fields
52
53# -----------------------------------------------------------
54# 0.08_02 2006-11-03
55# -----------------------------------------------------------
56
57* Added patch from Ash to separate DROP statements in mysql producer in list-context
58* Fixed up SQLites usage of no-comments
59
60# -----------------------------------------------------------
18a8d640 61# 0.08_01 2006-07-23
62# -----------------------------------------------------------
6cedfc23 63
18a8d640 64* Made Trigger check that a give table exists in on_table - castaway
65* Split some producers (DB2, MySQL, SQLite, PostgreSQL) into sub methods (others to follow) - castaway
66* Add alter_* methods to some Producers and docs to Producer.pm (for use by Diff later) - castaway
67* Made changes to allow producers to return a list of statements - castaway
68* Split sqlt-diff into script and module - castaway
69* Added quote_table_names and quote_field_names patch (omega, zamolxes) - castaway
70* Added DB2 Producer - castaway
6cedfc23 71* Added mysql_character_set for 4.1+ -mda
8dc6a4a3 72* New filters, Names and Globals. -mda
35a1938f 73* Added the initial work on a template based Dia UML producer. -mda
6cedfc23 74
f5d44dd7 75# -----------------------------------------------------------
18a8d640 76# 0.07 2005-06-10
f5d44dd7 77# -----------------------------------------------------------
1ded8513 78* YAML parser supports extra attributes on tables.
79
7fc38348 80* All schema objects now support the extra attribute, so can
81 have arbitary name/value data attached to them.
82
83* Refactoring: Added SQL::Translator::Schema::Object - base
84 class for all Schema objects.
85
13aec984 86* Changes to MySQL Parser (Dave Howorth)
87 - ignore INSERT statements
88 - permit ALTER TABLE ADD FOREIGN KEY
89 - allow trailing comma on last field in CREATE statements
90 - collect the database name
91
f9725390 92* TTSchema Producer
93 - Can pass extra variables using tt_vars producer arg.
94 - Can pass extra config using tt_conf producer arg.
95 - Variables and config can be passed on the command line
96 with --tt-var and --tt-conf options to sqlt.
97
185c34d5 98* Added schema filters.
f9725390 99
5a0c7b43 100* MySQL Producer
101 - Added 'mysql_table_type' extra attribute on tables.
102 - Works out InnoDB tables from constraints.
1ded8513 103 - mysql_charset and mysql_collate extra attributes for tables and fiels.
5a0c7b43 104
105
c4bf7f53 106# -----------------------------------------------------------
107# 0.06 2004-05-13
108# -----------------------------------------------------------
109* Added SQL::Translator::Manual
110
111* Installation process now uses Module::Build
112
113* Added new "Dumper" producer
114
3e069fa1 115* Changed the native SQL Fairy XML format to a fixed mapping.
116 *NB:* You should convert your existing XML schema. See the
117 SQL::Translator::Parser::XML::SQLFairy docs.
118
119* Added producers: TT::Base and TT::Table.
120
eabd66e6 121# -----------------------------------------------------------
7c67b302 122# 0.05 2004-02-27
123# -----------------------------------------------------------
bc40219c 124* Added "COMMENT ON *" syntax to PostgreSQL parser
125
126* Some fixes to Oracle parser as reported by Gail Binkley
127
128* Added support in PostgreSQL parser for all "ALTER TABLE" statements
7c67b302 129
130* Now distributing sqlt-diff script as it's pretty usable
131
132* Added new options to sqlt-graph and GraphViz producer (Dave Cash)
133
134# -----------------------------------------------------------
d6b47dd5 135# 0.04 2003-11-07
eabd66e6 136# -----------------------------------------------------------
b9952639 137
d6b47dd5 138* Increased version of Constants module to 1.41 to avoid a problem
139 where 0.02 has 1.4 of that file and 0.03 had 1.06 which confused
140 CPAN
141
142* Hard-coded all the PREREQ_PM modules in Makefile.PL (rather than
143 setting them dynamically) so that automated tests would pass
144
145# -----------------------------------------------------------
146# 0.03 2003-11-06
147# -----------------------------------------------------------
148
149* Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL,
150 DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
151
152* Added producers: XML::SQLFairy, TTSchema, Storable, YAML
153
154* HTML producer now uses stylesheets to allow easy customization of colors
155
156* Many bug fixes to most every module
157
158* Added "sqlt-dumper" script to help create a script for dumping
159 a database a la "mysqldump"
160
161* Reversed the arrowheads on the graphical producers to show the
162 relationships in a more standard way
163
164* Changes all included script names to start with "sqlt"
165
166* Added capturing and printing most embedded table and field comments
b9952639 167
eabd66e6 168# -----------------------------------------------------------
169# 0.02 2003-06-17
170# -----------------------------------------------------------
b9952639 171
eabd66e6 172* Added parsers for Excel and Oracle
b9952639 173
eabd66e6 174* Removed Sybase parser because it didn't actually work
b9952639 175
eabd66e6 176* Added ClassDBI, Diagram, GraphViz, HTML, POD, SQLite, Sybase producers
b9952639 177
eabd66e6 178* Added Schema classes to represent schema as objects
b9952639 179
eabd66e6 180* Removed "Raw" producer in favor of the Schema classes
b9952639 181
eabd66e6 182* Removed "Validator" class as the Schema classes validate themselves
b9952639 183
eabd66e6 184* Improved all existing parsers and producers, expanding them to
185 handle foreign keys much better, produce better output, etc.
b9952639 186
eabd66e6 187* Added sqlt-diagram.pl and sqlt-graphviz.pl as CLI frontends to the
188 graphical producers
b9952639 189
eabd66e6 190* Added sql_translator.cgi as a web-form frontend to graphical producers
150797b1 191
eabd66e6 192* Expanded test suite
d3e95970 193
194# -----------------------------------------------------------
d6b47dd5 195# 0.01 2003-02-27
f6aed479 196# -----------------------------------------------------------
197
7c67b302 198* Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL,
199 DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
200
201* Added producers: XML::SQLFairy, TTSchema, Storable, YAML
202
203* HTML producer now uses stylesheets to allow easy customization of colors
204
205* Many bug fixes to most every module
206
207* Added "sqlt-dumper" script to help create a script for dumping
208 a database a la "mysqldump"
209
210* Reversed the arrowheads on the graphical producers to show the
211 relationships in a more standard way
212
213* Changes all included script names to start with "sqlt"
214
215* Added capturing and printing most embedded table and field comments