Added mysql extra attribs for charset and collation.
[dbsrgits/SQL-Translator.git] / Changes
1 *   YAML parser supports extra attributes on tables.
2
3 *   All schema objects now support the extra attribute, so can
4     have arbitary name/value data attached to them.
5
6 *   Refactoring: Added SQL::Translator::Schema::Object - base 
7     class for all Schema objects.
8
9 *   Changes to MySQL Parser (Dave Howorth)
10     - ignore INSERT statements
11     - permit ALTER TABLE ADD FOREIGN KEY
12     - allow trailing comma on last field in CREATE statements
13     - collect the database name
14
15 *   TTSchema Producer
16     - Can pass extra variables using tt_vars producer arg.
17     - Can pass extra config using tt_conf producer arg.
18     - Variables and config can be passed on the command line
19       with --tt-var and --tt-conf options to sqlt.
20
21 *   Added schema filters.
22
23 *   MySQL Producer
24     - Added 'mysql_table_type' extra attribute on tables.
25     - Works out InnoDB tables from constraints.
26     - mysql_charset and mysql_collate extra attributes for tables and fiels.
27
28
29 # -----------------------------------------------------------
30 # 0.06    2004-05-13
31 # -----------------------------------------------------------
32 *   Added SQL::Translator::Manual
33
34 *   Installation process now uses Module::Build
35
36 *   Added new "Dumper" producer
37
38 *   Changed the native SQL Fairy XML format to a fixed mapping.
39     *NB:* You should convert your existing XML schema. See the
40     SQL::Translator::Parser::XML::SQLFairy docs.
41
42 *   Added producers: TT::Base and TT::Table.
43
44 # -----------------------------------------------------------
45 # 0.05    2004-02-27
46 # -----------------------------------------------------------
47 *   Added "COMMENT ON *" syntax to PostgreSQL parser
48
49 *   Some fixes to Oracle parser as reported by Gail Binkley
50
51 *   Added support in PostgreSQL parser for all "ALTER TABLE" statements
52
53 *   Now distributing sqlt-diff script as it's pretty usable
54
55 *   Added new options to sqlt-graph and GraphViz producer (Dave Cash)
56
57 # -----------------------------------------------------------
58 # 0.04    2003-11-07
59 # -----------------------------------------------------------
60
61 *   Increased version of Constants module to 1.41 to avoid a problem 
62     where 0.02 has 1.4 of that file and 0.03 had 1.06 which confused
63     CPAN
64
65 *   Hard-coded all the PREREQ_PM modules in Makefile.PL (rather than
66     setting them dynamically) so that automated tests would pass
67
68 # -----------------------------------------------------------
69 # 0.03    2003-11-06
70 # -----------------------------------------------------------
71
72 *   Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL, 
73     DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
74
75 *   Added producers: XML::SQLFairy, TTSchema, Storable, YAML
76
77 *   HTML producer now uses stylesheets to allow easy customization of colors
78
79 *   Many bug fixes to most every module
80
81 *   Added "sqlt-dumper" script to help create a script for dumping
82     a database a la "mysqldump"
83
84 *   Reversed the arrowheads on the graphical producers to show the 
85     relationships in a more standard way
86
87 *   Changes all included script names to start with "sqlt"
88
89 *   Added capturing and printing most embedded table and field comments
90
91 # -----------------------------------------------------------
92 # 0.02    2003-06-17
93 # -----------------------------------------------------------
94
95 *   Added parsers for Excel and Oracle
96
97 *   Removed Sybase parser because it didn't actually work
98
99 *   Added ClassDBI, Diagram, GraphViz, HTML, POD, SQLite, Sybase producers
100
101 *   Added Schema classes to represent schema as objects
102
103 *   Removed "Raw" producer in favor of the Schema classes
104
105 *   Removed "Validator" class as the Schema classes validate themselves
106
107 *   Improved all existing parsers and producers, expanding them to 
108     handle foreign keys much better, produce better output, etc.
109
110 *   Added sqlt-diagram.pl and sqlt-graphviz.pl as CLI frontends to the 
111     graphical producers
112
113 *   Added sql_translator.cgi as a web-form frontend to graphical producers
114
115 *   Expanded test suite
116
117 # -----------------------------------------------------------
118 # 0.01    2003-02-27
119 # -----------------------------------------------------------
120
121 *   Added parsers: XML::SQLFairy, Sybase, SQLite, DBI-MySQL, 
122     DBI-PostgreSQL, DBI-SQLite, DBI-Sybase, Storable, YAML
123
124 *   Added producers: XML::SQLFairy, TTSchema, Storable, YAML
125
126 *   HTML producer now uses stylesheets to allow easy customization of colors
127
128 *   Many bug fixes to most every module
129
130 *   Added "sqlt-dumper" script to help create a script for dumping
131     a database a la "mysqldump"
132
133 *   Reversed the arrowheads on the graphical producers to show the 
134     relationships in a more standard way
135
136 *   Changes all included script names to start with "sqlt"
137
138 *   Added capturing and printing most embedded table and field comments