10 years agoActually install Devel::Cover
Dagfinn Ilmari Mannsåker [Tue, 12 Aug 2014 23:23:52 +0000]
Actually install Devel::Cover

10 years agoDie instead of warning if roundtrip regen fails
Dagfinn Ilmari Mannsåker [Tue, 12 Aug 2014 22:47:53 +0000]
Die instead of warning if roundtrip regen fails

This lets the Travis helpers' auto-prereq-installation work.

10 years agoUse my fork of the helpers, for debugging
Dagfinn Ilmari Mannsåker [Tue, 12 Aug 2014 21:09:28 +0000]
Use my fork of the helpers, for debugging

10 years agoSwitch to @haarg's perl-travis-helper, add 5.20 and blead
Dagfinn Ilmari Mannsåker [Tue, 12 Aug 2014 17:30:11 +0000]
Switch to @haarg's perl-travis-helper, add 5.20 and blead

10 years agoAdd more data_types for sql_types mapping
Wallace Reis [Tue, 29 Jul 2014 21:39:26 +0000]
Add more data_types for sql_types mapping

10 years agoExtend Field->equals() for numeric comparison
Wallace Reis [Tue, 29 Jul 2014 17:58:11 +0000]
Extend Field->equals() for numeric comparison

10 years agoAdd 'use warnings', test case-insensitive ->get_field
Dagfinn Ilmari Mannsåker [Sat, 26 Jul 2014 12:33:31 +0000]
Add 'use warnings', test case-insensitive ->get_field

10 years agoFix and extend link table tests
Dagfinn Ilmari Mannsåker [Sat, 26 Jul 2014 12:32:53 +0000]
Fix and extend link table tests

10 years agoUse a schema with FKs for diagram testing
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 15:07:39 +0000]
Use a schema with FKs for diagram testing

10 years agoIgnore Devel::Cover output
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 15:07:25 +0000]
Ignore Devel::Cover output

10 years agoInstall the libgd development package
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 14:38:23 +0000]
Install the libgd development package

10 years agoOutput the build log on cpanm failure
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 14:31:04 +0000]
Output the build log on cpanm failure

10 years agoInstall Graph::Directed and GD to test Producer::Diagram
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 14:19:34 +0000]
Install Graph::Directed and GD to test Producer::Diagram

10 years agoTest Schema::Table->is_trivial_link and ->is_data
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 12:47:51 +0000]
Test Schema::Table->is_trivial_link and ->is_data

10 years agoSwitch t/13schema.t to done_testing
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 12:27:00 +0000]
Switch t/13schema.t to done_testing

10 years agoSet all the env variables in one "env" entry
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 11:52:15 +0000]
Set all the env variables in one "env" entry

10 years agoTest Parser::DBI::PostgreSQL in Travis
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 11:39:20 +0000]
Test Parser::DBI::PostgreSQL in Travis

10 years agoInstall XML::Parser in Travis, it's used by t/05bgep-re.t
Dagfinn Ilmari Mannsåker [Fri, 25 Jul 2014 11:31:45 +0000]
Install XML::Parser in Travis, it's used by t/05bgep-re.t

10 years agoFix handling of views in MySQL DBI parser
Dagfinn Ilmari Mannsåker [Thu, 24 Jul 2014 16:34:54 +0000]
Fix handling of views in MySQL DBI parser

SHOW TABLES and SHOW CREATE TABLE return views too, and Parser::MySQL
handles them just fine, so just pass them on.

10 years agoAdd Changes entries for 6c77378 and 1fb4f40
Dagfinn Ilmari Mannsåker [Thu, 24 Jul 2014 15:33:52 +0000]
Add Changes entries for 6c77378 and 1fb4f40

10 years agoFix warning due uninitialized var
Wallace Reis [Tue, 22 Jul 2014 18:10:51 +0000]
Fix warning due uninitialized var

"Use of uninitialized value in concatenation"

10 years agoProduce DDL for MySQL table field with ref in 'ON UPDATE'
Wallace Reis [Wed, 23 Jul 2014 22:56:28 +0000]
Produce DDL for MySQL table field with ref in 'ON UPDATE'

10 years agoDon't install Text::RecordParser, it's broken
Dagfinn Ilmari Mannsåker [Mon, 30 Jun 2014 11:40:30 +0000]
Don't install Text::RecordParser, it's broken

10 years agoInstall optional test deps in Travis
Dagfinn Ilmari Mannsåker [Mon, 30 Jun 2014 11:29:50 +0000]
Install optional test deps in Travis

10 years agoInstall DBI as well in Travis
Dagfinn Ilmari Mannsåker [Mon, 30 Jun 2014 11:10:39 +0000]
Install DBI as well in Travis

10 years agoInstall author-mode configure reqs in Travis
Dagfinn Ilmari Mannsåker [Mon, 30 Jun 2014 10:34:05 +0000]
Install author-mode configure reqs in Travis

10 years agoStop Makefile.PL hanging at prompts under Travis
Dagfinn Ilmari Mannsåker [Mon, 30 Jun 2014 10:26:54 +0000]
Stop Makefile.PL hanging at prompts under Travis

10 years agofixup! Test against travis
Arthur Axel 'fREW' Schmidt [Wed, 7 May 2014 18:33:36 +0000]
fixup! Test against travis

10 years agoadd missing Changes
Arthur Axel 'fREW' Schmidt [Wed, 7 May 2014 18:33:14 +0000]
add missing Changes

10 years agoTest against travis
Arthur Axel 'fREW' Schmidt [Wed, 7 May 2014 18:14:02 +0000]
Test against travis

10 years agoFix DROP TABLE in SQL Server Producer
Arthur Axel 'fREW' Schmidt [Wed, 7 May 2014 16:55:44 +0000]
Fix DROP TABLE in SQL Server Producer

10 years agoAdd .mailmap entry for Ash Berlin
Dagfinn Ilmari Mannsåker [Wed, 12 Feb 2014 16:49:24 +0000]
Add .mailmap entry for Ash Berlin

10 years agoremove spurious warning from 6+ years ago.
Matt Phillips [Thu, 2 Jan 2014 22:40:20 +0000]
remove spurious warning from 6+ years ago.

10 years agoAdd Json and hstore types in the PostgreSQL parser
clodeindustrie [Fri, 13 Dec 2013 07:48:37 +0000]
Add Json and hstore types in the PostgreSQL parser

10 years agoFix Pg DBI parser test
Dagfinn Ilmari Mannsåker [Tue, 17 Dec 2013 21:03:00 +0000]
Fix Pg DBI parser test

Allow maybe_plan() to not declare a plan, and use skip_all() and
done_testing() in the test file.

11 years agoremove default Pg dsn
Arthur Axel 'fREW' Schmidt [Fri, 1 Nov 2013 16:27:47 +0000]
remove default Pg dsn

This can cause spurious failures if the default DSN could connect but didn't
have permissions for example.

11 years agoFix confusingly erroneous variable name
Dagfinn Ilmari Mannsåker [Mon, 7 Oct 2013 14:52:42 +0000]
Fix confusingly erroneous variable name

11 years agorelease 0.011018 🎃 v0.011018 v0.11018
Arthur Axel 'fREW' Schmidt [Thu, 31 Oct 2013 13:58:32 +0000]
release 0.011018 🎃

11 years agoRevert "Fixed autoincrement in primary keys for SQLite"
Arthur Axel 'fREW' Schmidt [Thu, 31 Oct 2013 13:27:12 +0000]
Revert "Fixed autoincrement in primary keys for SQLite"

This reverts commit 03b0fa258c8580135c282b0282b5c7dcb0865c14.

This turns out to break far more than I expected it would.  See discussion here:
https://github.com/dbsrgits/sql-translator/pull/26

11 years agorelease 0.11017 v0.011017 v0.11017
Arthur Axel 'fREW' Schmidt [Wed, 30 Oct 2013 17:59:20 +0000]
release 0.11017

11 years agoadd missing Changes
Arthur Axel 'fREW' Schmidt [Wed, 30 Oct 2013 17:57:07 +0000]
add missing Changes

11 years agoNormalize Changes file to CPAN::Changes::Spec
Brian Cassidy [Thu, 11 Oct 2012 12:09:19 +0000]
Normalize Changes file to CPAN::Changes::Spec

Sadly, this doesn't validate because of a missing release date for
version 0.08_03. It will be future compatible, though, when the release
date becomes an optional element.

11 years agoFixed autoincrement in primary keys for SQLite
rporres [Tue, 12 Feb 2013 09:05:56 +0000]
Fixed autoincrement in primary keys for SQLite

SQLite autoincrement feature behaves differently in primary keys
and non-primary keys.  SQLite generator must take into account
autoincrement in primary keys when generating schemas.

11 years agoTTSchema doc fixes
Gavin Shelley [Sun, 10 Mar 2013 21:13:54 +0000]
TTSchema doc fixes

11 years agoSuppress "Exiting subroutine via next"
Larry Leszczynski [Tue, 23 Apr 2013 19:41:21 +0000]
Suppress "Exiting subroutine via next"

11 years agoAdd JSON parser and producer modules
Jon Jensen [Fri, 26 Apr 2013 14:10:16 +0000]
Add JSON parser and producer modules

These are cloned and adapted from their YAML counterparts.

11 years agoAdd DECIMAL_DIGITS to SQLServer size field for scale info
Jonathan C. Otsuka [Wed, 10 Oct 2012 16:59:44 +0000]
Add DECIMAL_DIGITS to SQLServer size field for scale info

http://msdn.microsoft.com/en-us/library/aa258832(v=sql.80).aspx

11 years agoQuote table_name to fix tables using reserve words as their name
Jonathan C. Otsuka [Wed, 30 Oct 2013 00:29:55 +0000]
Quote table_name to fix tables using reserve words as their name

11 years agoAdd myself to AUTHORS
Dagfinn Ilmari Mannsåker [Mon, 30 Sep 2013 08:18:34 +0000]
Add myself to AUTHORS

11 years agoFix incorrect module names in conditional plan
Dagfinn Ilmari Mannsåker [Sun, 29 Sep 2013 20:10:59 +0000]
Fix incorrect module names in conditional plan

11 years agoChange my E-Mail address
Robert Bohne [Sun, 29 Sep 2013 19:12:37 +0000]
Change my E-Mail address

11 years agoAdd SQL_TINYINT and SQL_BIGINT to %SQL::Translator::Schema::Field::type_mapping
Songmu [Sat, 28 Sep 2013 14:10:58 +0000]
Add SQL_TINYINT and SQL_BIGINT to %SQL::Translator::Schema::Field::type_mapping

SQL_BIGINT was added in DBI 1.54, so bump the dependency.

11 years agoFix typo in synopsis
Dagfinn Ilmari Mannsåker [Sat, 14 Sep 2013 16:46:59 +0000]
Fix typo in synopsis

11 years agoAdd missing attribute name in header
Dagfinn Ilmari Mannsåker [Sat, 14 Sep 2013 16:44:33 +0000]
Add missing attribute name in header

11 years agoRemove documentation for field moved to role
Dagfinn Ilmari Mannsåker [Sat, 14 Sep 2013 16:43:59 +0000]
Remove documentation for field moved to role

11 years agoFix typo
Dagfinn Ilmari Mannsåker [Sat, 14 Sep 2013 16:41:58 +0000]
Fix typo

11 years agoMerge branch 'patch-1' of https://github.com/dsteinbrunner/sql-translator
Dagfinn Ilmari Mannsåker [Sat, 14 Sep 2013 16:29:52 +0000]
Merge branch 'patch-1' of https://github.com/dsteinbrunner/sql-translator

Closes #34

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 12:09:25 +0000]
typo fixes

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 12:07:02 +0000]
typo fixes

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 12:03:44 +0000]
typo fixes

11 years agomore typo fixes
David Steinbrunner [Fri, 13 Sep 2013 12:01:37 +0000]
more typo fixes

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 11:59:47 +0000]
typo fixes

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 11:54:37 +0000]
typo fixes

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:52:49 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:49:23 +0000]
typo fix

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 11:47:46 +0000]
typo fixes

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:45:28 +0000]
typo fix

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 11:43:23 +0000]
typo fixes

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:42:37 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:41:49 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:40:53 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:40:09 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:39:31 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:38:48 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:37:48 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:37:17 +0000]
typo fix

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 11:36:39 +0000]
typo fixes

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:35:34 +0000]
typo fix

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 11:30:38 +0000]
typo fixes

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:28:26 +0000]
typo fix

11 years agotypo fixes
David Steinbrunner [Fri, 13 Sep 2013 11:27:23 +0000]
typo fixes

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:23:05 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:21:55 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:21:00 +0000]
typo fix

11 years agotypo fix
David Steinbrunner [Fri, 13 Sep 2013 11:18:33 +0000]
typo fix

11 years agoDocument append behaviour of options setters
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 18:39:24 +0000]
Document append behaviour of options setters

11 years agoFix typos in error messages
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 18:38:50 +0000]
Fix typos in error messages

11 years agoDon't reimplement perl's built-in default behaviour
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 18:26:49 +0000]
Don't reimplement perl's built-in default behaviour

Bare 'return;' is context sensitive already, and non-existing hash
elements return undef.

11 years agoUse accessor for table options in MySQL producer
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 17:20:59 +0000]
Use accessor for table options in MySQL producer

Since the Mooification it returns the arrayref stored in the object in
scalar context, even if it hadn't been set originally.

11 years agoClean up properly after Parser::DBI::PostgreSQL tests
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 14:07:55 +0000]
Clean up properly after Parser::DBI::PostgreSQL tests

Deleting the table in END {} after having disconnected isn't going to
work.  Instead, take advantage of PostgreSQL's transactional DDL
support, and do the tests inside a transcation that is rolled back at
the end.

11 years agoUse the API to access extra attributes
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 14:03:17 +0000]
Use the API to access extra attributes

11 years agoSupport for SET NULL, SET DEFAULT and NO ACTION in foreign key clauses for SQLite.
Fabrice Gabolde [Wed, 3 Oct 2012 15:17:06 +0000]
Support for SET NULL, SET DEFAULT and NO ACTION in foreign key clauses for SQLite.

According to the documentation this should be all of them (with the existing
support of CASCADE and RESTRICT).

11 years agoFix Pg diff issue with drop constraint on primary keys
William Wolf [Sat, 2 Jun 2012 04:07:46 +0000]
Fix Pg diff issue with drop constraint on primary keys

11 years agoproduce_diff_sql(): list context
Tina Mueller [Fri, 11 May 2012 16:22:38 +0000]
produce_diff_sql(): list context

rather change the calling of alter_field and the other methods to list context
so that if they return multiple statements produce_diff_sql() can return
them also seperately in list context

11 years agofix diff for altering two things per column - add ; at the end
Tina Mueller [Fri, 11 May 2012 15:25:04 +0000]
fix diff for altering two things per column - add ; at the end

replaced /;$/xms with /;\s*\z/xms since alter_field can return
two or more statements

11 years agoAllow VALUEs to be enclosed in double and single quotes, specifically
Ken Youens-Clark [Tue, 25 Sep 2012 21:33:57 +0000]
Allow VALUEs to be enclosed in double and single quotes, specifically
was a problem on ENUMs, so I added a test for this.

11 years agoProperly tag our XML namespace URI - it is not a real link
Peter Rabbitson [Sun, 9 Dec 2012 19:03:57 +0000]
Properly tag our XML namespace URI - it is not a real link

RT#81838

12 years agoFix POD wording
Dagfinn Ilmari Mannsåker [Tue, 16 Oct 2012 12:39:45 +0000]
Fix POD wording

12 years agorelease 0.11016 v0.011016 v0.11016
Arthur Axel 'fREW' Schmidt [Tue, 9 Oct 2012 21:26:21 +0000]
release 0.11016

12 years agoTest Str and ArrayRef input for SQLT->filename
Mateu X Hunter [Tue, 9 Oct 2012 21:20:02 +0000]
Test Str and ArrayRef input for SQLT->filename