Jess Robinson [Tue, 21 Nov 2006 00:01:17 +0000]
Update changes, oops
Jess Robinson [Mon, 20 Nov 2006 23:56:14 +0000]
Cascade drop pg tables to overcome key constraints when dropping
Ben Faga [Fri, 10 Nov 2006 21:58:14 +0000]
Updated version number and Change log for recent patches.
Ben Faga [Fri, 10 Nov 2006 21:43:15 +0000]
Added a semicolon at the end of the create trigger definition because SQLite seems to require it.
Modified the test data to reflect this need.
Ben Faga [Fri, 10 Nov 2006 21:21:52 +0000]
Applied patch sent in by Daniel Westermann-Clark on Oct 11 2006.
His message:
Attached is a patch to modify the Producer::DB2 to output foreign key
definitions as ALTER TABLE statements after the CREATE TABLE
statements (to avoid dependency issues). The patch also removes
single quotes for numeric default values in Producer::DB2, which
caused problems here on my v7 instance.
To add tests for the foreign key output, I added a table to the
schema.xml file. This required updating some of the other tests, and
exposed a few other minor issues in the test suite relating to foreign
key output.
Jess Robinson [Fri, 10 Nov 2006 11:23:10 +0000]
Update TODO file
Jess Robinson [Thu, 9 Nov 2006 18:23:01 +0000]
Upped version to _03
Jess Robinson [Thu, 9 Nov 2006 18:22:22 +0000]
Fixed tests for mysql producer changes
Jess Robinson [Thu, 9 Nov 2006 18:19:05 +0000]
Make the DROP commands a separate item in arrary context (mysql producer)
Jess Robinson [Thu, 9 Nov 2006 18:16:24 +0000]
Add default timestamp support to Postgres producer
Chris Hilton [Mon, 30 Oct 2006 19:41:48 +0000]
Added comment to diff output if target database is not one of the few, the proud
Chris Hilton [Mon, 16 Oct 2006 15:24:12 +0000]
Fixed passing references to GetOptions
Chris Hilton [Tue, 10 Oct 2006 19:05:55 +0000]
Added test for delimiter functionality and multiple comments on a line
Chris Hilton [Tue, 10 Oct 2006 19:04:54 +0000]
Added MySQL 5.0 DELIMITER functionality
Chris Hilton [Tue, 10 Oct 2006 19:04:10 +0000]
Remove row requirement for returning indices
Chris Hilton [Tue, 10 Oct 2006 16:34:53 +0000]
Get SQLT version dynamically
Jess Robinson [Fri, 22 Sep 2006 20:49:57 +0000]
Remove strange manifest entry
Jess Robinson [Tue, 19 Sep 2006 20:55:12 +0000]
Make TTSchema work with TT 2.15, somehow
Jess Robinson [Sat, 26 Aug 2006 11:37:18 +0000]
Also collect function objects. Thanks Gordon!
Jess Robinson [Sat, 26 Aug 2006 11:35:31 +0000]
Fix typo, no_comments arg wasnt getting passed. Thanks Penguin!
Jess Robinson [Sat, 26 Aug 2006 11:34:49 +0000]
Support Pg timestamp type followed by an optional size, which denotes the type of timestamp
Jess Robinson [Sat, 26 Aug 2006 11:30:31 +0000]
Default auto-inc fields to start at one, and increase by one
Jess Robinson [Sat, 26 Aug 2006 11:29:32 +0000]
Fixed up tests to accommodate new DB2 producer changes and sqlite tests to not test for comments.
Jess Robinson [Wed, 9 Aug 2006 13:06:21 +0000]
Add quoting support to the mysql producer, thanks ash!
Jess Robinson [Fri, 4 Aug 2006 21:38:21 +0000]
Add timestamp tests, make postgres produce timestamp(0) if asked
Jess Robinson [Mon, 24 Jul 2006 07:00:25 +0000]
Build files for 0.08_01
Jess Robinson [Sun, 23 Jul 2006 14:18:44 +0000]
Changes for 0.08_01
Jess Robinson [Sun, 23 Jul 2006 14:14:56 +0000]
Move Template into reccommends for now
Jess Robinson [Sun, 23 Jul 2006 14:03:52 +0000]
Splitting of MySQL, Postgres and SQLite producers into sub methods
Added "alter_*" methods to MySQL and Postgres producers
Jess Robinson [Sun, 23 Jul 2006 13:57:42 +0000]
Lots of Pg Producer tests, some other fixes
Jess Robinson [Sun, 16 Jul 2006 13:57:49 +0000]
Improvements to MySQL producers foreign key and comment handling
Jess Robinson [Tue, 11 Jul 2006 21:53:26 +0000]
Fix mysql_table_type .. (where did this go, or why was it not there?)
Ken Youens-Clark [Thu, 29 Jun 2006 19:24:14 +0000]
Fixed handling of NULLs.
Ben Faga [Thu, 22 Jun 2006 19:06:35 +0000]
Fixed a problem with the trigger_steps where it used to expect a string when it was getting an array.
Jess Robinson [Fri, 9 Jun 2006 13:58:03 +0000]
Add test to prove insert statements with quoted semi-colons can still be skipped
Jess Robinson [Fri, 9 Jun 2006 13:56:58 +0000]
Allow skipped insert statements and trigger bodies to contain quoted semi-colons
Jess Robinson [Thu, 8 Jun 2006 21:02:20 +0000]
SQLite and YAML tests broken, fixed
Also made SQLite parser actually used the parsed table naem
Jess Robinson [Wed, 7 Jun 2006 16:43:41 +0000]
Typo fixing
Jess Robinson [Wed, 7 Jun 2006 16:39:09 +0000]
Add tests for new alter_field, add_field, drop_field methods
Jess Robinson [Wed, 7 Jun 2006 16:37:33 +0000]
Update Trigger to insist on a valid table for on_table
on_table now stores a known table obj in the table() attribute, which can also be used directly
Updated tests to match
Jess Robinson [Wed, 7 Jun 2006 16:32:11 +0000]
Produce either a list of statements or a string
Split produce() into multiple methods
Add alter_field, add_field, drop_field for use with Diff
Jess Robinson [Wed, 7 Jun 2006 16:28:59 +0000]
Document producer methods
Jess Robinson [Wed, 7 Jun 2006 16:08:45 +0000]
Recognise & skip DROP statements when parsing
Recognise CURRENT_TIMESTAMP (SQLite v3+)
Jess Robinson [Wed, 7 Jun 2006 16:04:12 +0000]
Added quote-field-names, quote-table-names options
Jess Robinson [Wed, 7 Jun 2006 16:02:54 +0000]
Producers can now return individual statements as s list, if wantarray set
DB2 implements this, produces each individual statement on demand as well
Also implements alter_field, add_field etc for use by Diff
Added quote-field-names, quote-table-names params
Jess Robinson [Wed, 24 May 2006 22:06:56 +0000]
More DB2 producing
Jess Robinson [Wed, 24 May 2006 22:01:21 +0000]
DB2 producer tests
Chris Hilton [Wed, 24 May 2006 18:41:35 +0000]
Ignore Oracle system constraints on source DB schema, also
Chris Hilton [Wed, 24 May 2006 18:10:30 +0000]
Modified parse() to instantiate a separate RecDescent parser like other Parsers do
Chris Hilton [Wed, 24 May 2006 18:09:27 +0000]
Added tests to catch Oracle problem with parser being reused
Chris Hilton [Wed, 24 May 2006 18:08:41 +0000]
Removed conflict markers
Jess Robinson [Wed, 24 May 2006 14:45:21 +0000]
Use DB2 Parser
Jess Robinson [Sat, 20 May 2006 09:02:47 +0000]
Initial devision of sqlt-diff: Most of the functionality into a module
Ken Youens-Clark [Sat, 13 May 2006 01:25:44 +0000]
Added use of graph.
Ken Youens-Clark [Sat, 13 May 2006 01:21:21 +0000]
Commiting.
Chris Hilton [Fri, 5 May 2006 16:42:17 +0000]
Fixed up ON DELETE parsing for FKs
Chris Hilton [Fri, 5 May 2006 16:41:26 +0000]
Added ON DELETE and ON UPDATE clauses to FK output
Chris Hilton [Thu, 4 May 2006 20:47:07 +0000]
Added 'default null' parsing
Chris Hilton [Thu, 4 May 2006 20:46:45 +0000]
Fix field default value output bug I introduced
Chris Hilton [Thu, 4 May 2006 20:45:58 +0000]
Minor refactor to avoid uninitialized value warning
Chris Hilton [Wed, 3 May 2006 21:46:06 +0000]
Fixed preservation of function call as field in function-based indices
Chris Hilton [Wed, 3 May 2006 21:25:07 +0000]
Parser changes to accomodate function-based indexes and optional size modifier for data type
Ken Youens-Clark [Wed, 12 Apr 2006 14:11:09 +0000]
Removed SIGNATURE.
Ken Youens-Clark [Wed, 12 Apr 2006 14:10:28 +0000]
Removing.
Mark Addison [Fri, 7 Apr 2006 10:00:21 +0000]
Globals filter now copies extra
Chris Mungall [Tue, 21 Mar 2006 20:07:21 +0000]
new: makes tables in latex format
Ben Faga [Tue, 21 Mar 2006 18:39:28 +0000]
Applying the patch submitted with this bug report
https://rt.cpan.org/Public/Bug/Display.html?id=18096 by Nigel Metheringham.
Fixes a bug where it wouldn't parse create statements that included "timestamp without time zone".
Ken Youens-Clark [Thu, 16 Mar 2006 19:24:43 +0000]
Added tests for "unique" and "key" qualifiers to field definitions.
Ken Youens-Clark [Thu, 16 Mar 2006 19:24:02 +0000]
Added grammar for handling "unique" and "key" qualifiers to field definition.
Mark Addison [Fri, 10 Mar 2006 15:04:12 +0000]
Added constraint copy to Globals filter. (Seem to be getting lots of warnings from YAML now...)
Mark Addison [Fri, 10 Mar 2006 14:55:19 +0000]
Fixed warning for tables with no order attrib
Earl Cahill [Thu, 9 Mar 2006 20:18:05 +0000]
-O::Is, accidentally committed some debug, thanks to Darren Chamberlain [dlc@sevenroot.org] for pointing it out
Earl Cahill [Thu, 9 Mar 2006 19:25:47 +0000]
adding in Oracle driver support and making the DRIVER keys alphabetical :)
Earl Cahill [Thu, 9 Mar 2006 19:24:32 +0000]
initial adds for the oracle dbi parser and a simple test to make sure the use works
Mark Addison [Mon, 6 Mar 2006 17:46:57 +0000]
Added Globals filter.
Mark Addison [Mon, 6 Mar 2006 13:55:08 +0000]
Removed un-used stuff left from CutNPaste of t/36-filters.t
Mark Addison [Mon, 6 Mar 2006 13:08:43 +0000]
Backed out M::B ConfigData based installed templates and moved DiaUml
producer to using evil hack of templates in INC.
Ken Youens-Clark [Wed, 22 Feb 2006 22:54:12 +0000]
Updates.
Ken Youens-Clark [Wed, 22 Feb 2006 22:52:51 +0000]
Changed to build up schema from "show create table" statements and then
pass to regular MySQL parser.
Ken Youens-Clark [Wed, 22 Feb 2006 17:03:57 +0000]
Changed my name.
Ken Youens-Clark [Thu, 16 Feb 2006 14:59:19 +0000]
Changes to make more efficient use of memory with large tables.
Ken Youens-Clark [Tue, 31 Jan 2006 03:28:07 +0000]
Moved YAML to a build requirement.
Ken Youens-Clark [Tue, 31 Jan 2006 02:55:36 +0000]
Just committing, but is it necessary? It will be regenerated by Build.PL.
Mark Addison [Fri, 20 Jan 2006 16:17:21 +0000]
Intial code for Dia producer
Mark Addison [Fri, 20 Jan 2006 15:04:55 +0000]
Build support for installing templates.
Mark Addison [Thu, 22 Dec 2005 12:13:22 +0000]
Fixed missing schema table comments
Mark Addison [Fri, 16 Dec 2005 10:25:00 +0000]
Experimental filters
Mark Addison [Fri, 16 Dec 2005 05:49:37 +0000]
Added mysql_character_set for 4.1+
Ben Faga [Thu, 17 Nov 2005 21:55:41 +0000]
Applied changes submitted by Paul Makepeace <sourceforge.net@paulm.com>.
His notes:
I have added the --use-same-auth switch to provide the producers with the same DSN/user/password as the parser gets. Since these options sort of existed already for the Dumper producer so I renamed them to more generic --producer-X; now they all have them.
I also added a "--package My::Class::DBI" option for specifying the base class. One thing I wasn't quite sure on was that this base class is being stripped out - confused me at first but it seems to have been taken out in CVS v the version that's on CPAN -- maybe something in the works? Anyway, I put it back just for now as I needed it for my current project :-)
(Wasn't particularly excited by either of those switch names; feel free to come up with something better...)
E.g.,
perl -Mlib=blib/lib bin/sqlt --parser DBI –dsn 'dbi:mysql:dbname=X;host=127.0.0.1' --db-user X --db-password X --use-same-auth --producer ClassDBI –package 'My::Class::DBI'
Scott Cain [Fri, 7 Oct 2005 16:26:41 +0000]
refining the parser, but it still doesn't do everything it should:
- the column order number doesn't make much sense to me--is that number global to the file, or supposed to be relative to the table?
- the data_type and size aren't getting set; perhaps I need to do a mapping of the text output of the query to internal variables?
- is_unique never gets set for any column (because I don't explicitly set it), but the unique indexes and the columns they are over are set correctly. Is that a problem? Also, is the is_unique flag only for the simple case for where the column by it self is unique or is it also used for compound unique indexes?
Scott Cain [Thu, 6 Oct 2005 20:33:07 +0000]
revamped Pg DBI parser to query system tables. This still doesn't work
as far as I know, but it seems very close. Perhaps more knowledgable
eye could take a look.
Jess Robinson [Sun, 18 Sep 2005 20:06:31 +0000]
produce DB2 tables
Darren Chamberlain [Thu, 15 Sep 2005 17:37:31 +0000]
Removed doap.rdf from MANIFEST, since I removed it from CVS a few days earlier.
Darren Chamberlain [Tue, 13 Sep 2005 18:49:31 +0000]
Moved to htdocs module
Darren Chamberlain [Wed, 31 Aug 2005 15:42:57 +0000]
Original artwor, courtesy of Jason Williams
Chris Hilton [Wed, 31 Aug 2005 15:42:17 +0000]
Adding non-zero exit status if differences were found
Chris Hilton [Wed, 10 Aug 2005 16:57:06 +0000]
Various tweaks to produce Oracle diffs
Chris Hilton [Wed, 10 Aug 2005 16:55:44 +0000]
Added some constraint tests
Removed YAML prereq, sqlt-diff doesn't use it anymore
Chris Hilton [Wed, 10 Aug 2005 16:46:55 +0000]
Modified equals() to stringify field checks and use more case insensitivity when required
Chris Hilton [Wed, 10 Aug 2005 16:45:40 +0000]
Modified equals() to include more case insensitivity when required