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

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

15 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

15 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

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

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

15 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

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

15 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)

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

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

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

15 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

15 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

15 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

15 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 ]

15 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

15 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

15 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

15 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

15 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

15 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

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

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

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

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

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

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

15 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

15 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

15 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

15 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)

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

15 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)

15 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)

15 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

15 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)

15 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

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

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

15 years agofix import issues
Justin Hunter [Tue, 8 Sep 2009 19:13:13 +0000]
fix import issues

15 years agoput former S::T::Utils method parse_mysql_version into Translator.pm as engine_version
Justin Hunter [Tue, 8 Sep 2009 19:12:48 +0000]
put former S::T::Utils method parse_mysql_version into Translator.pm as engine_version

15 years agoadd DEFAULT_PARSER_VERSION constant
Justin Hunter [Tue, 8 Sep 2009 19:12:16 +0000]
add DEFAULT_PARSER_VERSION constant

15 years agodefault_value might also be a ScalarRef
Justin Hunter [Tue, 8 Sep 2009 18:59:54 +0000]
default_value might also be a ScalarRef

15 years agoadd predicates for parser_args/producer_args
Justin Hunter [Tue, 8 Sep 2009 18:59:37 +0000]
add predicates for parser_args/producer_args

15 years agoyank out the normalizing of fields
Justin Hunter [Tue, 8 Sep 2009 16:03:28 +0000]
yank out the normalizing of fields

15 years agocomments must be add_ed not done in the constructor
Justin Hunter [Tue, 8 Sep 2009 16:03:11 +0000]
comments must be add_ed not done in the constructor

15 years agoallow adding of indexes where name is ""
Justin Hunter [Tue, 8 Sep 2009 16:02:44 +0000]
allow adding of indexes where name is ""

15 years agono plan, use done_testing
Justin Hunter [Sat, 5 Sep 2009 17:19:14 +0000]
no plan, use done_testing

15 years agohandle constraints with no name
Justin Hunter [Sat, 5 Sep 2009 17:11:46 +0000]
handle constraints with no name

15 years agocompare the type against predefined constants
Justin Hunter [Sat, 5 Sep 2009 16:48:25 +0000]
compare the type against predefined constants

15 years agomake sure we are comparing against lowercase
Justin Hunter [Sat, 5 Sep 2009 16:48:07 +0000]
make sure we are comparing against lowercase

15 years agoSQLite DDL parser test & data
Justin Hunter [Sat, 5 Sep 2009 16:47:22 +0000]
SQLite DDL parser test & data

15 years agoremove needless comments
Justin Hunter [Sat, 5 Sep 2009 16:46:36 +0000]
remove needless comments

15 years agomake sure reference fields is an arrayref
Justin Hunter [Sat, 5 Sep 2009 16:46:25 +0000]
make sure reference fields is an arrayref

15 years agoneed to sort tables to ensure ordering
Justin Hunter [Sat, 5 Sep 2009 16:45:09 +0000]
need to sort tables to ensure ordering

15 years agoRoundtrip test (more parsers to be added)
Justin Hunter [Sat, 5 Sep 2009 16:35:16 +0000]
Roundtrip test (more parsers to be added)

15 years agoPostgreSQL DDL parser test
Justin Hunter [Sat, 5 Sep 2009 16:34:41 +0000]
PostgreSQL DDL parser test

15 years agofix spelling error
Justin Hunter [Sat, 5 Sep 2009 16:15:55 +0000]
fix spelling error

15 years agoremove needless alias
Justin Hunter [Fri, 4 Sep 2009 22:59:04 +0000]
remove needless alias

15 years agomove method 'aliases' into handles
Justin Hunter [Fri, 4 Sep 2009 18:31:42 +0000]
move method 'aliases' into handles

15 years agobump version requirements
Justin Hunter [Fri, 4 Sep 2009 04:36:54 +0000]
bump version requirements

15 years agomigrate from MXAH to Native::Trait
Justin Hunter [Fri, 4 Sep 2009 04:36:37 +0000]
migrate from MXAH to Native::Trait

15 years agomigrate from MXAH to Native::Trait
Justin Hunter [Fri, 4 Sep 2009 04:35:37 +0000]
migrate from MXAH to Native::Trait

15 years agocomments cannot be set in the constructor, must use external method
Justin Hunter [Thu, 3 Sep 2009 20:01:41 +0000]
comments cannot be set in the constructor, must use external method

15 years agoextra must be set in the form of a hashref
Justin Hunter [Thu, 3 Sep 2009 20:01:19 +0000]
extra must be set in the form of a hashref

15 years agoadd/use new Bit type (0 or 1)
Justin Hunter [Thu, 3 Sep 2009 20:00:42 +0000]
add/use new Bit type (0 or 1)

15 years agofix options and comments methods
Justin Hunter [Thu, 3 Sep 2009 20:00:14 +0000]
fix options and comments methods

15 years agoget PostgreSQL passing roundtrip
Justin Hunter [Thu, 3 Sep 2009 18:05:17 +0000]
get PostgreSQL passing roundtrip

15 years agodefault should be true not false
Justin Hunter [Thu, 3 Sep 2009 17:49:32 +0000]
default should be true not false

15 years agoadd match_type attribute
Justin Hunter [Thu, 3 Sep 2009 06:55:30 +0000]
add match_type attribute

15 years agochange to proper ->new/add_* methods
Justin Hunter [Wed, 26 Aug 2009 05:57:06 +0000]
change to proper ->new/add_* methods

15 years agoremove comments/old warnings
Justin Hunter [Wed, 26 Aug 2009 05:56:03 +0000]
remove comments/old warnings

15 years agodon't pass in order, but pass in extra
Justin Hunter [Wed, 26 Aug 2009 05:55:33 +0000]
don't pass in order, but pass in extra

15 years agoproperly get schema/translator
Justin Hunter [Wed, 26 Aug 2009 05:54:50 +0000]
properly get schema/translator

15 years agostub for XML grammar
Justin Hunter [Wed, 26 Aug 2009 04:34:02 +0000]
stub for XML grammar

15 years agoadd extra behavior to parameters attribute
Justin Hunter [Wed, 26 Aug 2009 04:33:49 +0000]
add extra behavior to parameters attribute

15 years agoreturn 1 instead of $schema
Justin Hunter [Tue, 25 Aug 2009 05:51:44 +0000]
return 1 instead of $schema

15 years agoparse mysql ddl procedures & views
Justin Hunter [Tue, 25 Aug 2009 05:51:28 +0000]
parse mysql ddl procedures & views

15 years agofix mysql ddl constraint parsing
Justin Hunter [Tue, 25 Aug 2009 05:51:04 +0000]
fix mysql ddl constraint parsing

15 years agofix constraint production
Justin Hunter [Tue, 25 Aug 2009 05:50:08 +0000]
fix constraint production

15 years agoremove extraneous imports
Justin Hunter [Tue, 25 Aug 2009 03:40:37 +0000]
remove extraneous imports

15 years agoremove unneeded MooseX::Types::Moose imports
Justin Hunter [Tue, 25 Aug 2009 03:25:00 +0000]
remove unneeded MooseX::Types::Moose imports

15 years agomove to MooseX::Declare extends style
Justin Hunter [Tue, 25 Aug 2009 03:14:58 +0000]
move to MooseX::Declare extends style

15 years agoadd 'extra' to produce result
Justin Hunter [Mon, 24 Aug 2009 22:38:22 +0000]
add 'extra' to produce result

15 years agomove extra down to Object.pm
Justin Hunter [Mon, 24 Aug 2009 22:29:59 +0000]
move extra down to Object.pm

15 years agoadd schema to new table
Justin Hunter [Mon, 24 Aug 2009 22:01:22 +0000]
add schema to new table

15 years agoadd wantarray for return and only push new options on if array has elements
Justin Hunter [Mon, 24 Aug 2009 21:59:07 +0000]
add wantarray for return and only push new options on if array has elements

15 years agoadd Parse::RecDescent dep
Justin Hunter [Mon, 24 Aug 2009 21:58:14 +0000]
add Parse::RecDescent dep

15 years agoclean up Makefile
Justin Hunter [Mon, 24 Aug 2009 21:06:07 +0000]
clean up Makefile

15 years agofix up Makefile
Justin Hunter [Sun, 23 Aug 2009 22:07:32 +0000]
fix up Makefile

15 years agotable is required for Indx
Justin Hunter [Sun, 23 Aug 2009 21:37:19 +0000]
table is required for Indx

15 years agoinitial Makefile.PL
Justin Hunter [Sun, 23 Aug 2009 16:01:15 +0000]
initial Makefile.PL

15 years agoadd table to objects that need it
Justin Hunter [Sun, 23 Aug 2009 07:08:46 +0000]
add table to objects that need it

15 years agocleanup and standardization
Justin Hunter [Sun, 23 Aug 2009 07:08:28 +0000]
cleanup and standardization

15 years agofix up fields values (scalar values resulted in an integer value)
Justin Hunter [Sun, 23 Aug 2009 07:06:52 +0000]
fix up fields values (scalar values resulted in an integer value)

15 years agodon't pass columns to constructors, add_column them
Justin Hunter [Sun, 23 Aug 2009 07:05:19 +0000]
don't pass columns to constructors, add_column them

15 years agoadd schema to Table->new and remove sorting
Justin Hunter [Sun, 23 Aug 2009 07:05:01 +0000]
add schema to Table->new and remove sorting

15 years agoremove comments
Justin Hunter [Sun, 23 Aug 2009 07:04:34 +0000]
remove comments

15 years agobreakout Table creation
Justin Hunter [Sun, 23 Aug 2009 07:02:57 +0000]
breakout Table creation