Add IF EXISTS to DROP INDEX (except under MySQL)
[DBIx-DBSchema.git] / Changes
1 Revision history for Perl module DBIx::DBSchema
2
3 0.46 unreleased
4     - Add IF EXISTS to DROP INDEX (except under MySQL)
5
6 0.45 Wed May  6 22:17:33 PDT 2015
7     - MySQL does not support DEFAULT for TEXT/BLOB columns, closes: CPAN#58505
8     - doc: Add repository information
9     - fix SQLite reverse-engineering, closes: CPAN#95961
10     - fix Pg reverse-engineering of foreign key MATCH/ON DELETE/ON UPDATE
11       clauses
12
13 0.44 2013-11-15 17:54:37 PST
14     - POD fixes from Xavier Guimard <x.guimard@free.fr> and Damyan Ivanov
15       <dmn@debian.org> of the Debian Perl Group, closes: CPAN#82187
16     - More foreign key support
17       + Table alteration (removing foreign keys)
18       + Fix MATCH / ON DELETE / ON UPDATE
19
20 0.43 2013-11-04 14:58;32 PST
21     - Incorporate CPAN::Changes::Spec-compliant Changes file from Neil Bowers
22       <neilb@cpan.org>, closes: CPAN#90023, thanks!
23     - Fix table creation broken by 0.42
24     - Create/alter tables before foreign key changes
25
26 0.42 2013-11-03 01:09:27 PST
27     - Basic foreign key support
28       + table creation
29       + table alteration (adding new foreign keys)
30       + reverse-engineering (Pg driver)
31
32 0.41_01 not released
33     - consolidate multiple ADD/ALTER COLUMN statements into one ALTER TABLE
34
35 0.40 2011-12-17 17:03:51 PST
36     - doc: sql_update_schema link to sql_add_column misspelled
37     - Pg: fix mapping for DOUBLE PRECISION type to avoid needless alter cols
38     - mysql: implement altering column types & lengths
39
40 0.39 2010-03-26 20:24:58 PDT
41     - mysql: TEXT->LONGTEXT
42     - mysql: when reverse engineering, transform a default of
43       CURRENT_TIMESTAMP into the more common NOW()
44     - mysql: fix reverse-engineering of empty string default
45
46 0.38 2010-01-14 15:26:13 PST
47     - Bump version number for ->quoted_default availability & default
48       reverse-engineering changes
49
50 0.37 not released
51     - Patch from Slavin Rezic <srezic@cpan.org> to prevent quoting around
52       numeric defaults in Pg.
53     - Pg: use default_db_schema when adding SERIAL columns instead of
54       hardcoding "public".
55     - Pg: Initial support for handling changes to a column's type or size.
56     - Case sensitivity fix for Slavin's patch to prevent quoting around
57       numeric defaults in Pg.
58     - Column default values: refactor handling, improve Pg reverse
59       engineering and implement schema changes.
60
61 0.36 2007-12-13 17:49:35 PST
62     - Patch from ISHIGAKI@cpan.org to suppress unnecessary warnings about
63       undefined local_options, thanks!
64     - fix bug preventing adding new columns as primary keys under Pg
65
66 0.35 2007-10-29 18:58:36 PDT
67     - Fix minor breakage (pretty_print) resulting from Jesse's changes.
68     - Update mysql driver to handle BIGSERIAL columns
69     - Update Column.pm, move all mysql and Pg-specific code to DBD driver
70       callbacks
71     - Update Table.pm, add local_options
72     - Fix mysql NULL reverse-engineering and updating code
73
74 0.34 2007-08-19 10:08:51 PDT
75     - More work on update schema from Slaven Rezic <srezic@cpan.org>,
76       thanks!
77       + implement table dropping (closes: CPAN#27936)
78       + implement column dropping (closes: CPAN#27896)
79     - Fix to quiet warnings from internal use of old API from Jesse Vincent
80       <jesse+cpan@fsck.com>, thanks! (closes: CPAN#27958)
81     - Make table dropping optional, not the default.
82
83 0.33 2007-06-28 18:46:15 PDT
84     - Overhaul of index representation: indices (both normal and unique)
85       now have names and are DBIx::DBSchema::Index objects
86     - update_schema now handles indices!
87     - Bump version numbers in Table.pm, Column.pm and DBD.pm
88     - Pg reverse-engineering fix for column order in multi-column indices,
89       to prevent needless drop/add of identical indices
90     - mysql reverse-engineering patch from Brian Phillips
91       <bphillips@cpan.org>, closes: CPAN#17582, thanks!
92     - mysql NAME vs NAME_lc patch from Ralf Hack <ralf@beetlecraft.net>,
93       closes: CPAN#16715, thanks!
94     - mysql fix for additional column data from Chris Mungall
95       <cjm@fruitfly.org>, closes: CPAN#20859, thanks!
96     - SQLite SERIAL patch from IN SUK JOUNG <i.joung@gmail.com>, and fix
97       for mis-application of said patch from Slaven Rezic
98       <srezic@cpan.org>, thanks!
99     - Update README wrt current CVS info and URL, closes: CPAN#27577
100
101 0.32 2007-04-18 15:02:25 PDT
102     - increment the version numbers in Column.pm and Table.pm and the
103       "use" statements accordingly
104     - Error reporting for load constructor
105     - Update documentation wrt supported databases and new update_schema
106       stuff
107     - Fixes for dropping nullability on old Pg (<= 7.2)
108     - Fixes for adding nullability on old Pg (<= 7.3)
109     - Throw a warning if pg_server_version is unavailable, assume >= 7.3
110     - fix POD error in DBSchema::DBD::SQLite that confused pod2man and
111       prevented the documentation from being installed.  Patch from Niko
112       Tyni <ntyni@iki.fi>, thanks!
113
114 0.31 2006-03-30 05:28:20 PST
115     - more schema update stuff:
116     - added Column::sql_alter_column
117     - added Table::sql_alter_table
118     - added DBSchema::sql_update_schema and DBSchema::update_schema
119
120 0.30 2006-02-16 16:43:01 PST
121     - "Too much uptime"
122     - Remove buggy debugging from Column.pm
123     - Remove removed TODO from MANIFEST
124
125 0.29 2006-02-16 13:54:42 PST
126     - Column::sql_add_column fix when adding primary keys to Pg 7.2.x
127     - workaround for PAUSE parsing of DBIx::DBSchema::DBD::Pg version: move
128       DBD::Pg verison checking after $VERSION declaration, thanks Andreas!
129     - kludge: allow scalar ref default to force quoting off, to add things
130       like functions and empty values as defaults
131     - Move TODO file to DBSchema.pm and DBS/Column.pm BUGS sections
132
133 0.28 2005-11-30 09:46:47 PST
134     - Initial SQLite support from Jesse Vincent
135     - fix typo in DBIx::DBSchema::DBD POD doc
136
137 0.27 2005-08-15 23:31:54 PDT
138     - MySQL patch for enum types from Andy Orr
139     - new Column::sql_add_column method!
140
141 0.26 2005-04-07 01:09:53 PDT
142     - ask for "public" db schema only from Pg
143
144 0.25 2005-04-06 16:12:38 PDT
145     - depend on DBD::Pg 1.32 or 1.41+ (1.40 was bunk)
146
147 0.24 2005-03-11 02:20:55 PST
148     - Oracle driver from Daniel Hanks <hanksdc@about-inc.com> and Peter
149       Bowen <pbowen@aboutws.com>.
150     - Switch from FreezeThaw to Storable, keep ability to read old files
151
152 0.23 2004-02-16 17:35:54 PST
153     - Update Pg dependancy to 1.32
154     - Update the simple load test so it skips DBIx::DBSchema::DBD::Pg if
155       DBD::Pg 1.32 is not installed.
156
157 0.22 2003-10-23 15:18:21 PDT
158     - Pg reverse-engineering fix: varchar with no limit
159     - Pg needs (unreleased) DBD::Pg 1.30 (or deb 1.22-2... interesting)
160
161 0.21 2002-09-19 05:04:18 PDT
162     - Pg reverse-engineering fix: now sets default
163
164 0.20 2002-03-04 04:58:34
165     - documentation updates
166     - fix Column->new when using named params
167     - fix Pg driver reverse-engineering length of numeric columns:
168       translate 655362 to 10,2, etc.
169     - fix Pg driver reverse-engineering of text columns (don't have a
170       length)
171
172 0.19 2001-10-23 08:49:12
173     - documentation for %typemap
174     - preliminary Sybase driver from Charles Shapiro
175       <charles.shapiro@numethods.com> and Mitchell J. Friedman
176       <mitchell.friedman@numethods.com>.
177     - Fix Column::line to return a scalar as documented, not a list.
178     - Should finally eliminate the Use of uninitialized value at
179       ... DBIx/DBSchema/Column.pm line 251
180
181 0.18 2001-08-10 17:07:28
182     - Added Table::delcolumn
183     - patch from Charles Shapiro <cshapiro@numethods.com> to add
184       `ORDER BY a.attnum' to the SQL in DBIx::DBSchema::DBD::Pg::columns
185
186 0.17 2001-07-07 17:55:33
187     - Rework Table->new interface for named params
188     - Fixes for Pg blobs, yay!
189     - MySQL doesn't need non-standard index syntax anymore (since 3.22).
190     - patch from Mark Ethan Trostler <mark@zzo.com> for generating
191       tables without indices.
192
193 0.16 2001-01-05 15:55:50
194     - Don't overflow index names.
195
196 0.15 2000-11-24 23:39:16
197     - MySQL handling of BOOL type (change to TINYINT)
198
199 0.14 2000-10-24 14:43:16
200     - MySQL handling of SERIAL type (change to INTEGER AUTO_INCREMENT)
201
202 0.13 2000-10-11 10:47:13
203     - fixed up type mapping foo, added default values, added named
204       parameters to Column->new, fixed quoting of default values
205
206 0.11 2000-09-28 02:16:25
207     - oops, original verison got 0.10, so this one will get 0.11
208
209 0.01 2000-09-17 07:57:35
210     - original version; created by h2xs 1.19
211