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