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

10 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

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

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

10 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.

10 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.

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

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

10 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.

10 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

10 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

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

10 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

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

10 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.

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

10 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

10 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

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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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

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

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

11 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

11 years agoAllow passing an arrayref to SQLT->filename
Dagfinn Ilmari Mannsåker [Tue, 9 Oct 2012 18:12:35 +0000]
Allow passing an arrayref to SQLT->filename

It was lost in the Mooification.

11 years agorelease 0.11015 v0.11015
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 21:30:34 +0000]
release 0.11015

11 years agoFix stupid missing version number in SQL::Translator::Schema::Object
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 21:30:01 +0000]
Fix stupid missing version number in SQL::Translator::Schema::Object

11 years agoRelease 0.11014 v0.11014
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 21:08:07 +0000]
Release 0.11014

11 years agoswitch to Perl Licensing
Arthur Axel 'fREW' Schmidt [Fri, 5 Oct 2012 20:50:53 +0000]
switch to Perl Licensing

11 years agorelease 0.11013_03 v0.11013_03
Arthur Axel 'fREW' Schmidt [Wed, 26 Sep 2012 00:10:18 +0000]
release 0.11013_03

11 years agoadd missing Changes
Arthur Axel 'fREW' Schmidt [Wed, 26 Sep 2012 00:09:37 +0000]
add missing Changes

11 years agoinclude Moo version in a single place
Arthur Axel 'fREW' Schmidt [Tue, 25 Sep 2012 18:54:54 +0000]
include Moo version in a single place

The reason we include this is that the bug fixed in the required version
of Moo has to do with memory leaks and people will certainly not notice
that very quickly

11 years agoNo versions in use statements - encourages shit like autorequires
Peter Rabbitson [Sun, 23 Sep 2012 16:27:20 +0000]
No versions in use statements - encourages shit like autorequires

11 years agoXML writing is not strictly necessary for everything else to work
Peter Rabbitson [Sun, 23 Sep 2012 16:23:53 +0000]
XML writing is not strictly necessary for everything else to work

11 years agoLose one more useless dependency
Peter Rabbitson [Sun, 23 Sep 2012 16:23:00 +0000]
Lose one more useless dependency

11 years agoBoth of these are pre 5.8 coredeps
Peter Rabbitson [Sun, 23 Sep 2012 16:12:15 +0000]
Both of these are pre 5.8 coredeps

11 years agoMoo port makes both of these no longer needed
Peter Rabbitson [Sun, 23 Sep 2012 16:11:48 +0000]
Moo port makes both of these no longer needed

11 years agoRemove SQL::Translator::Schema::Graph as announced in 0.11011
Peter Rabbitson [Sun, 23 Sep 2012 16:09:34 +0000]
Remove SQL::Translator::Schema::Graph as announced in 0.11011

11 years agoRemove old dist tarball which snuck in during a14ab50e
Peter Rabbitson [Sun, 23 Sep 2012 16:02:03 +0000]
Remove old dist tarball which snuck in during a14ab50e

11 years agorelease v0.11013_02 v0.11013_02
Arthur Axel 'fREW' Schmidt [Sun, 23 Sep 2012 15:15:42 +0000]
release v0.11013_02

11 years agoAdd missing List::MoreUtils dep
Dagfinn Ilmari Mannsåker [Sun, 23 Sep 2012 14:55:34 +0000]
Add missing List::MoreUtils dep

11 years agorelease 0.11013_01 v0.11013_01
Arthur Axel 'fREW' Schmidt [Sat, 22 Sep 2012 16:59:14 +0000]
release 0.11013_01

11 years agoMake read-only SQLT::Schema::Table attributes carp instead of die
Dagfinn Ilmari Mannsåker [Wed, 19 Sep 2012 09:43:32 +0000]
Make read-only SQLT::Schema::Table attributes carp instead of die

11 years agoAdd carping wrapper to SQL::Translator->schema as well
Dagfinn Ilmari Mannsåker [Mon, 17 Sep 2012 22:47:12 +0000]
Add carping wrapper to SQL::Translator->schema as well

11 years agoCarp instead of dying if arguments are passed to read-only accessors
Dagfinn Ilmari Mannsåker [Thu, 30 Aug 2012 23:31:14 +0000]
Carp instead of dying if arguments are passed to read-only accessors

11 years agoAdd Changes entries for mooification and leak fix
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 14:20:01 +0000]
Add Changes entries for mooification and leak fix

11 years agoAdd enum type
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 22:15:07 +0000]
Add enum type

11 years agoDocument new roles, types and utility functions
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 13:06:42 +0000]
Document new roles, types and utility functions

11 years agoWrap some over-log has statements
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 15:10:41 +0000]
Wrap some over-log has statements

11 years agoUse quote_sub for trivial coercions
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 13:55:49 +0000]
Use quote_sub for trivial coercions

11 years agoCheck Moo version at runtime
Dagfinn Ilmari Mannsåker [Thu, 16 Aug 2012 13:21:44 +0000]
Check Moo version at runtime

11 years agoUse quote_sub for trivial defaults
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 16:39:19 +0000]
Use quote_sub for trivial defaults

11 years agoFactor list attributes into variant role
Dagfinn Ilmari Mannsåker [Wed, 15 Aug 2012 15:57:39 +0000]
Factor list attributes into variant role

11 years agoMooify SQL::Translator
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:51:02 +0000]
Mooify SQL::Translator

11 years agoFix broken reset attempt
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:46:19 +0000]
Fix broken reset attempt

11 years agoMake SQLT::Role::Error internals closer to Class::Base
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 11:47:49 +0000]
Make SQLT::Role::Error internals closer to Class::Base

11 years agoReinstate schema object base class
Dagfinn Ilmari Mannsåker [Fri, 17 Aug 2012 13:07:45 +0000]
Reinstate schema object base class

This class consumes the roles common to all the schema classes, and
maintains backwards compatibilty for DarkPAN code checking
$obj->isa('SQL::Translator::Schema::Object').

11 years agoRename non-schema-specific roles to SQLT::Role::Foo
Dagfinn Ilmari Mannsåker [Tue, 14 Aug 2012 09:56:53 +0000]
Rename non-schema-specific roles to SQLT::Role::Foo

11 years agoUse weak refs for schema object attributes
Dagfinn Ilmari Mannsåker [Wed, 8 Aug 2012 19:27:06 +0000]
Use weak refs for schema object attributes

This fixes the leaks that the destructors removed in the previous commit
were ineffectually trying to fix.

Bump the Moo prereq for fixed return value of weak_ref setters.

11 years agoRemove pointless DESTROY methods
Dagfinn Ilmari Mannsåker [Wed, 8 Aug 2012 18:41:32 +0000]
Remove pointless DESTROY methods

You can't break circular references in the destructor when those very
references keep the destructor from beeing called in the first place.

11 years agoRemove unused variables and module import
Dagfinn Ilmari Mannsåker [Wed, 8 Aug 2012 12:01:41 +0000]
Remove unused variables and module import