14 years agouse Digest::SHA1 for sha1_hex
Justin Hunter [Wed, 27 Jan 2010 07:19:56 +0000]
use Digest::SHA1 for sha1_hex

14 years agomake sure columns is an ARRAYREF
Justin Hunter [Wed, 27 Jan 2010 07:19:32 +0000]
make sure columns is an ARRAYREF

14 years agomore tests and test data
Justin Hunter [Wed, 27 Jan 2010 07:19:09 +0000]
more tests and test data

14 years agoadd tests and test data
Justin Hunter [Wed, 27 Jan 2010 07:18:41 +0000]
add tests and test data

14 years agoupdate test
Justin Hunter [Wed, 27 Jan 2010 05:13:23 +0000]
update test

14 years agoprimary key fix for YAML
Justin Hunter [Wed, 27 Jan 2010 04:36:16 +0000]
primary key fix for YAML

14 years agomore test fixups
Justin Hunter [Mon, 18 Jan 2010 04:29:15 +0000]
more test fixups

14 years agodatabase_events as an array, not arrayref
Justin Hunter [Mon, 18 Jan 2010 01:36:30 +0000]
database_events as an array, not arrayref

14 years agoprimary key fix
Justin Hunter [Mon, 18 Jan 2010 01:35:51 +0000]
primary key fix

14 years agono more wantarray
Justin Hunter [Sat, 16 Jan 2010 17:00:46 +0000]
no more wantarray

14 years agofix for dropping procedures and temporarily remove die
Justin Hunter [Sat, 16 Jan 2010 09:08:17 +0000]
fix for dropping procedures and temporarily remove die

14 years agounbreak some tests
Justin Hunter [Fri, 15 Jan 2010 07:25:54 +0000]
unbreak some tests

14 years agoadd an add_reference_column handles
Justin Hunter [Fri, 15 Jan 2010 07:25:29 +0000]
add an add_reference_column handles

14 years agoremove redunant around add_column
Justin Hunter [Fri, 15 Jan 2010 07:25:00 +0000]
remove redunant around add_column

14 years agofix a typo and remove "is"
Justin Hunter [Fri, 15 Jan 2010 00:12:53 +0000]
fix a typo and remove "is"

14 years agosome test fixes
Justin Hunter [Fri, 15 Jan 2010 00:12:26 +0000]
some test fixes

14 years agoadd an around remove_trigger to make sure trigger actually exists
Justin Hunter [Wed, 13 Jan 2010 00:50:29 +0000]
add an around remove_trigger to make sure trigger actually exists

14 years agoall tests at least run, not all pass
Justin Hunter [Wed, 6 Jan 2010 06:16:32 +0000]
all tests at least run, not all pass

14 years agobring Procedure up to speed with the rest of the Objects
Justin Hunter [Wed, 6 Jan 2010 06:16:17 +0000]
bring Procedure up to speed with the rest of the Objects

14 years agocurrent state of this test
Justin Hunter [Wed, 9 Dec 2009 18:54:31 +0000]
current state of this test

14 years agouse the coercion instead of creating the object (change back to add_column once aroun...
Justin Hunter [Wed, 9 Dec 2009 18:54:13 +0000]
use the coercion instead of creating the object (change back to add_column once around & coerce work properly)

14 years agofix for primary key adding/checking
Justin Hunter [Wed, 9 Dec 2009 17:18:58 +0000]
fix for primary key adding/checking

14 years agosometimes it would be nice to spell things correctly
Justin Hunter [Fri, 4 Dec 2009 19:43:53 +0000]
sometimes it would be nice to spell things correctly

14 years agoadd drop_trigger (and put things in alphabetical order)
Justin Hunter [Fri, 4 Dec 2009 19:43:12 +0000]
add drop_trigger (and put things in alphabetical order)

14 years agowhile admittedly still broken, much progress has been made
Justin Hunter [Thu, 3 Dec 2009 15:39:11 +0000]
while admittedly still broken, much progress has been made

14 years agofixes for MySQL producer ->options
Justin Hunter [Thu, 3 Dec 2009 15:38:58 +0000]
fixes for MySQL producer ->options

14 years agofix for Pg DDL parser
Justin Hunter [Thu, 3 Dec 2009 15:36:50 +0000]
fix for Pg DDL parser

14 years agomake sure reference_fields/reference_columns is not undef
Justin Hunter [Thu, 3 Dec 2009 15:36:28 +0000]
make sure reference_fields/reference_columns is not undef

14 years agomake these attributes required
Justin Hunter [Tue, 1 Dec 2009 22:47:49 +0000]
make these attributes required

14 years agofix for storing comments using Moose::Autobox and ->flatten
Justin Hunter [Tue, 1 Dec 2009 22:46:54 +0000]
fix for storing comments using Moose::Autobox and ->flatten

14 years agoset the schema on a trigger when it is added
Justin Hunter [Tue, 1 Dec 2009 22:46:01 +0000]
set the schema on a trigger when it is added

14 years agogive Trigger objects access to Schema and Table objects
Justin Hunter [Tue, 1 Dec 2009 22:45:19 +0000]
give Trigger objects access to Schema and Table objects

14 years agocheck and see if column exists before checking if it is a pkey
Justin Hunter [Mon, 16 Nov 2009 19:54:40 +0000]
check and see if column exists before checking if it is a pkey

14 years agohack to make column auto_increment if it is changed to serial (pg)
Justin Hunter [Mon, 16 Nov 2009 19:54:16 +0000]
hack to make column auto_increment if it is changed to serial (pg)

14 years agoremove unnecessary (Any $)
Justin Hunter [Mon, 16 Nov 2009 19:53:54 +0000]
remove unnecessary (Any $)

14 years ago(Any $) is not necessary anymore for a multi method without any args
Justin Hunter [Sun, 18 Oct 2009 06:23:32 +0000]
(Any $) is not necessary anymore for a multi method without any args

14 years agoup some deps
Justin Hunter [Sun, 18 Oct 2009 06:22:25 +0000]
up some deps

14 years agoif primary key constraint is added, make associated columns primary keys
Justin Hunter [Sun, 18 Oct 2009 06:11:13 +0000]
if primary key constraint is added, make associated columns primary keys

14 years agoadd remove_sequence helper
Justin Hunter [Sun, 18 Oct 2009 06:10:40 +0000]
add remove_sequence helper

14 years agoremove all columns before adding new ones via ->fields or ->columns
Justin Hunter [Sun, 18 Oct 2009 06:09:32 +0000]
remove all columns before adding new ones via ->fields or ->columns

14 years agoadd drop_view
Justin Hunter [Fri, 9 Oct 2009 13:55:52 +0000]
add drop_view

14 years agoadd remove methods for the rest of the objects and add around methods for add_ ...
Justin Hunter [Fri, 9 Oct 2009 13:55:29 +0000]
add remove methods for the rest of the objects and add around methods for add_ & remove_ view (sanity checks)

14 years agoView extends Table
Justin Hunter [Tue, 6 Oct 2009 23:27:24 +0000]
View extends Table

14 years agomove drop_* to Compat, change to around remove_* in lieu of multi method drop_*
Justin Hunter [Tue, 6 Oct 2009 21:45:43 +0000]
move drop_* to Compat, change to around remove_* in lieu of multi method drop_*

14 years agomake "" the default for constraint name
Justin Hunter [Sat, 3 Oct 2009 23:27:50 +0000]
make "" the default for constraint name

14 years agoremove ColumnSize and add MatchType
Justin Hunter [Sat, 3 Oct 2009 16:47:08 +0000]
remove ColumnSize and add MatchType

14 years agocoerce HashRefs to Objects
Justin Hunter [Sat, 3 Oct 2009 04:59:10 +0000]
coerce HashRefs to Objects

14 years agoadd a sensible default for match_type and make type not required
Justin Hunter [Sat, 3 Oct 2009 04:52:39 +0000]
add a sensible default for match_type and make type not required

14 years agofix some typos and add multi methods for drop_index
Justin Hunter [Sat, 3 Oct 2009 04:52:14 +0000]
fix some typos and add multi methods for drop_index

14 years agocoerce Sequence and Constraint into objects
Justin Hunter [Sat, 3 Oct 2009 04:51:51 +0000]
coerce Sequence and Constraint into objects

14 years agoadd ability to remove indexes (indices?)
Justin Hunter [Sat, 3 Oct 2009 04:50:24 +0000]
add ability to remove indexes (indices?)

14 years agoremove/add column to Columns hash upon rename
Justin Hunter [Sat, 3 Oct 2009 04:49:45 +0000]
remove/add column to Columns hash upon rename

14 years agoadd error attribute
Justin Hunter [Sat, 3 Oct 2009 04:49:11 +0000]
add error attribute

14 years agomove backcompat into Compat.pm and apply the role to Object.pm
Justin Hunter [Sat, 3 Oct 2009 04:48:45 +0000]
move backcompat into Compat.pm and apply the role to Object.pm

14 years agoanother test
Justin Hunter [Wed, 30 Sep 2009 19:14:04 +0000]
another test

14 years agofix after removing auto_deref
Justin Hunter [Wed, 30 Sep 2009 19:13:51 +0000]
fix after removing auto_deref

14 years agoset table/schema when added to table/schema, rather then on object construction
Justin Hunter [Wed, 30 Sep 2009 19:13:31 +0000]
set table/schema when added to table/schema, rather then on object construction

14 years agoinitial xml test
Justin Hunter [Wed, 30 Sep 2009 18:51:36 +0000]
initial xml test

14 years agoallow setting of fields (columns) like ->fields('foo,bar') or ->fields([ qw/foo bar/ ])
Justin Hunter [Wed, 30 Sep 2009 00:26:06 +0000]
allow setting of fields (columns) like ->fields('foo,bar') or ->fields([ qw/foo bar/ ])

14 years agobreak out size into length & precision
Justin Hunter [Wed, 30 Sep 2009 00:11:44 +0000]
break out size into length & precision

14 years agocoerce a hash into an Index
Justin Hunter [Tue, 29 Sep 2009 23:54:34 +0000]
coerce a hash into an Index

14 years agono more auto_deref
Justin Hunter [Tue, 29 Sep 2009 23:53:59 +0000]
no more auto_deref

14 years agochange Undef to an empty ArrayRef and remove auto_deref
Justin Hunter [Tue, 29 Sep 2009 23:50:43 +0000]
change Undef to an empty ArrayRef and remove auto_deref

14 years agoremove auto-deref and use the Native::Trait handles
Justin Hunter [Tue, 29 Sep 2009 23:49:34 +0000]
remove auto-deref and use the Native::Trait handles

14 years agoadd backcompat get_field method
Justin Hunter [Sun, 27 Sep 2009 16:13:01 +0000]
add backcompat get_field method

14 years agoschema test changes
Justin Hunter [Fri, 25 Sep 2009 00:05:51 +0000]
schema test changes

14 years agoadd is_valid method and a default for type
Justin Hunter [Thu, 24 Sep 2009 23:58:52 +0000]
add is_valid method and a default for type

14 years agofix extra method
Justin Hunter [Thu, 24 Sep 2009 23:58:20 +0000]
fix extra method

14 years agodata_type is now a timestamp without time zone (no longer truncated)
Justin Hunter [Thu, 24 Sep 2009 23:57:36 +0000]
data_type is now a timestamp without time zone (no longer truncated)

14 years agosome pg grammar fixes
Justin Hunter [Thu, 24 Sep 2009 23:57:11 +0000]
some pg grammar fixes

14 years agoadd coercion for Index
Justin Hunter [Thu, 24 Sep 2009 16:58:45 +0000]
add coercion for Index

14 years agosimple pod coverage test
Justin Hunter [Tue, 22 Sep 2009 01:05:14 +0000]
simple pod coverage test

14 years agoreturn comments/options/extra when they are set
Justin Hunter [Tue, 22 Sep 2009 01:04:59 +0000]
return comments/options/extra when they are set

14 years agoadd overload (stringification) to Column, setup some defaults and make some attrs...
Justin Hunter [Tue, 22 Sep 2009 01:04:14 +0000]
add overload (stringification) to Column, setup some defaults and make some attrs not required

14 years agoadd backcompat methods and some checking on ->name
Justin Hunter [Tue, 22 Sep 2009 01:03:43 +0000]
add backcompat methods and some checking on ->name

14 years agomake is_nullable a Bit and default the column size to [ 0 ]
Justin Hunter [Tue, 22 Sep 2009 01:02:55 +0000]
make is_nullable a Bit and default the column size to [ 0 ]

14 years agowe can get the schema from the translator now
Justin Hunter [Tue, 22 Sep 2009 00:35:59 +0000]
we can get the schema from the translator now

14 years agocoerce a Column from a HashRef via Column->new
Justin Hunter [Tue, 22 Sep 2009 00:35:33 +0000]
coerce a Column from a HashRef via Column->new

14 years agoadd some error checking to add_column and an alias to it
Justin Hunter [Tue, 22 Sep 2009 00:35:02 +0000]
add some error checking to add_column and an alias to it

14 years agoadd ability to drop(remove) a column
Justin Hunter [Tue, 22 Sep 2009 00:33:55 +0000]
add ability to drop(remove) a column

14 years ago->error does not exist and send on the parser|producer_args
Justin Hunter [Sat, 19 Sep 2009 16:48:18 +0000]
->error does not exist and send on the parser|producer_args

14 years agoadd is_valid check and make sure you can't add a table with the same name
Justin Hunter [Sat, 19 Sep 2009 16:47:32 +0000]
add is_valid check and make sure you can't add a table with the same name

14 years agostringify the table object
Justin Hunter [Sat, 19 Sep 2009 16:47:01 +0000]
stringify the table object

14 years agoadd ability to "drop" a table
Justin Hunter [Sat, 19 Sep 2009 16:46:05 +0000]
add ability to "drop" a table

14 years agoadd database attribute
Justin Hunter [Sat, 19 Sep 2009 16:45:48 +0000]
add database attribute

14 years agohelp pod test pass
Justin Hunter [Sat, 19 Sep 2009 16:45:18 +0000]
help pod test pass

14 years agobump required versions
Justin Hunter [Thu, 17 Sep 2009 01:24:30 +0000]
bump required versions

14 years agoanother test
Justin Hunter [Tue, 8 Sep 2009 23:10:02 +0000]
another test

14 years agobetter way to write the translate method
Justin Hunter [Tue, 8 Sep 2009 23:09:49 +0000]
better way to write the translate method

14 years agochange from parse_mysql_version to engine_version
Justin Hunter [Tue, 8 Sep 2009 23:08:14 +0000]
change from parse_mysql_version to engine_version

14 years agoadd specific mysql_parser_version tests to roundtrip
Justin Hunter [Tue, 8 Sep 2009 19:23:26 +0000]
add specific mysql_parser_version tests to roundtrip

14 years agoTODO: fix handling of 'KEY name_idx (name(10))' (partial index)
Justin Hunter [Tue, 8 Sep 2009 19:21:19 +0000]
TODO: fix handling of 'KEY name_idx (name(10))' (partial index)

14 years agodone testing!
Justin Hunter [Tue, 8 Sep 2009 19:18:05 +0000]
done testing!

14 years agochange from parse_mysql_version (in S::T::Utils) to engine_version (function of Trans...
Justin Hunter [Tue, 8 Sep 2009 19:17:53 +0000]
change from parse_mysql_version (in S::T::Utils) to engine_version (function of Translator)

14 years agochange of namespace for Objects (Schema becomes Object)
Justin Hunter [Tue, 8 Sep 2009 19:17:20 +0000]
change of namespace for Objects (Schema becomes Object)

14 years agowe no longer normalize fields (change the size to the maximum allowed) so those parse...
Justin Hunter [Tue, 8 Sep 2009 19:16:52 +0000]
we no longer normalize fields (change the size to the maximum allowed) so those parsed without an explicit size are 0

14 years agochange from parse($tr, $data) to $tr->parse($data)
Justin Hunter [Tue, 8 Sep 2009 19:15:52 +0000]
change from parse($tr, $data) to $tr->parse($data)

14 years agofix up use and don't plan
Justin Hunter [Tue, 8 Sep 2009 19:14:30 +0000]
fix up use and don't plan

14 years agoallow options to be handled
Justin Hunter [Tue, 8 Sep 2009 19:13:50 +0000]
allow options to be handled

14 years agoparse engine version
Justin Hunter [Tue, 8 Sep 2009 19:13:37 +0000]
parse engine version