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

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

14 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

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

14 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

14 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

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

14 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

14 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 ""

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

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

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

14 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

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

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

14 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

14 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

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

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

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

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

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

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

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

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

14 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

14 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

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

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

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

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

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

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

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

14 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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 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

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

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

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

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

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

14 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

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

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

14 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

14 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

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

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

14 years agofix the way columns are added to triggers/constraints/indexes
Justin Hunter [Sun, 23 Aug 2009 07:02:25 +0000]
fix the way columns are added to triggers/constraints/indexes

14 years agocleanup, mainly create objects before adding them
Justin Hunter [Sun, 23 Aug 2009 07:01:08 +0000]
cleanup, mainly create objects before adding them

14 years agoconvert sub to method
Justin Hunter [Sun, 23 Aug 2009 07:00:27 +0000]
convert sub to method

14 years agodon't set schema to ->parse (->translator->schema already gets updated)
Justin Hunter [Sun, 23 Aug 2009 07:00:03 +0000]
don't set schema to ->parse (->translator->schema already gets updated)

14 years agomake schema lazy
Justin Hunter [Sun, 23 Aug 2009 06:59:28 +0000]
make schema lazy

14 years agomake action Any for the time being
Justin Hunter [Sun, 23 Aug 2009 06:58:56 +0000]
make action Any for the time being

14 years agomove options down to Object.pm
Justin Hunter [Sun, 23 Aug 2009 06:58:39 +0000]
move options down to Object.pm

14 years agosome changes to match current functionality
Justin Hunter [Sat, 22 Aug 2009 21:44:02 +0000]
some changes to match current functionality

14 years agoadd PostgreSQL producing
Justin Hunter [Sat, 22 Aug 2009 21:42:50 +0000]
add PostgreSQL producing

14 years agoadd base functionality to DDL parser
Justin Hunter [Sat, 22 Aug 2009 21:42:21 +0000]
add base functionality to DDL parser

14 years agoadd table attribute when creating new objects
Justin Hunter [Sat, 22 Aug 2009 21:41:58 +0000]
add table attribute when creating new objects

14 years agoconvert sub parse to method parse
Justin Hunter [Sat, 22 Aug 2009 21:41:31 +0000]
convert sub parse to method parse

14 years agoSQLite producer rewrite
Justin Hunter [Sat, 22 Aug 2009 21:41:08 +0000]
SQLite producer rewrite

14 years agoadd PostgreSQL ddl parsing
Justin Hunter [Sat, 22 Aug 2009 21:40:38 +0000]
add PostgreSQL ddl parsing

14 years agoadd SQLite ddl parsing
Justin Hunter [Sat, 22 Aug 2009 21:40:20 +0000]
add SQLite ddl parsing

14 years agoremove extraneous return
Justin Hunter [Sat, 22 Aug 2009 21:39:50 +0000]
remove extraneous return

14 years agoadd MySQL ddl parsing
Justin Hunter [Sat, 22 Aug 2009 21:39:25 +0000]
add MySQL ddl parsing

14 years agoadd 'extra' attribute (may move down to Object.pm)
Justin Hunter [Sat, 22 Aug 2009 21:38:24 +0000]
add 'extra' attribute (may move down to Object.pm)

14 years agocleanup
Justin Hunter [Sat, 22 Aug 2009 21:37:53 +0000]
cleanup

14 years agoadd backcompat methods
Justin Hunter [Sat, 22 Aug 2009 21:37:32 +0000]
add backcompat methods

14 years agomove reference_* down to Constraint
Justin Hunter [Sat, 22 Aug 2009 21:36:34 +0000]
move reference_* down to Constraint