15 years agomake sql required
Justin Hunter [Wed, 19 Aug 2009 10:12:24 +0000]
make sql required

15 years agorename contents attribute to sql
Justin Hunter [Wed, 19 Aug 2009 10:07:13 +0000]
rename contents attribute to sql

15 years agochange parameters from HashRef to ArrayRef
Justin Hunter [Wed, 19 Aug 2009 10:06:44 +0000]
change parameters from HashRef to ArrayRef

15 years agoadd more attributes
Justin Hunter [Wed, 19 Aug 2009 10:06:04 +0000]
add more attributes

15 years agoinitial XML Parser/Producer
Justin Hunter [Wed, 19 Aug 2009 09:38:28 +0000]
initial XML Parser/Producer

15 years agoadd back compat attributes
Justin Hunter [Wed, 19 Aug 2009 09:38:10 +0000]
add back compat attributes

15 years agoadd triggers to Schema
Justin Hunter [Wed, 19 Aug 2009 09:37:41 +0000]
add triggers to Schema

15 years agoadd some backcompat attributes/methods
Justin Hunter [Wed, 19 Aug 2009 09:27:25 +0000]
add some backcompat attributes/methods

15 years agochange sub to method
Justin Hunter [Wed, 19 Aug 2009 09:25:48 +0000]
change sub to method

15 years agomove attributes to Translator
Justin Hunter [Wed, 19 Aug 2009 09:25:12 +0000]
move attributes to Translator

15 years agoadd a ref to the translator object that created the producer and keep the schema...
Justin Hunter [Mon, 17 Aug 2009 19:40:31 +0000]
add a ref to the translator object that created the producer and keep the schema in it

15 years agoadd Translator type
Justin Hunter [Mon, 17 Aug 2009 18:35:04 +0000]
add Translator type

15 years agoYAML parsing
Justin Hunter [Mon, 17 Aug 2009 18:34:35 +0000]
YAML parsing

15 years agoroundtrip test
Justin Hunter [Mon, 17 Aug 2009 18:33:39 +0000]
roundtrip test

15 years agoadd compat methods
Justin Hunter [Tue, 11 Aug 2009 21:45:10 +0000]
add compat methods

15 years agouse IxHash
Justin Hunter [Tue, 11 Aug 2009 21:43:37 +0000]
use IxHash

15 years agouse IxHash
Justin Hunter [Tue, 11 Aug 2009 21:39:42 +0000]
use IxHash

15 years agoadd ColumnSize subtype and its coercions
Justin Hunter [Tue, 11 Aug 2009 21:30:25 +0000]
add ColumnSize subtype and its coercions

15 years agomake test closer to original
Justin Hunter [Tue, 11 Aug 2009 05:18:53 +0000]
make test closer to original

15 years agochange from data_type (freeform text) to sql_data_type (dbi constant)
Justin Hunter [Tue, 11 Aug 2009 04:50:00 +0000]
change from data_type (freeform text) to sql_data_type (dbi constant)

15 years agouse method BUILD instead of triggers
Justin Hunter [Tue, 11 Aug 2009 04:49:11 +0000]
use method BUILD instead of triggers

15 years agoadd sql_data_type attribute
Justin Hunter [Tue, 11 Aug 2009 04:48:30 +0000]
add sql_data_type attribute

15 years agomethods for compat
Justin Hunter [Tue, 11 Aug 2009 04:48:14 +0000]
methods for compat

15 years agomake PrimaryKey an Index and Constraint
Justin Hunter [Tue, 11 Aug 2009 02:52:15 +0000]
make PrimaryKey an Index and Constraint

15 years agoadd compat methods
Justin Hunter [Tue, 11 Aug 2009 02:51:35 +0000]
add compat methods

15 years agoadd compat methods
Justin Hunter [Tue, 11 Aug 2009 02:51:12 +0000]
add compat methods

15 years agoadd compat methods
Justin Hunter [Tue, 11 Aug 2009 02:50:15 +0000]
add compat methods

15 years agosome tests
Justin Hunter [Tue, 11 Aug 2009 02:49:28 +0000]
some tests

15 years agoadd 'extra' and 'is_primary_key' attributes
Justin Hunter [Tue, 11 Aug 2009 02:48:47 +0000]
add 'extra' and 'is_primary_key' attributes

15 years agochange SQL_CHAR() to char
Justin Hunter [Tue, 11 Aug 2009 02:40:21 +0000]
change SQL_CHAR() to char

15 years agoadd SQL::Translator constants
Justin Hunter [Tue, 11 Aug 2009 02:39:05 +0000]
add SQL::Translator constants

15 years agochange in mysql grammar
Justin Hunter [Tue, 11 Aug 2009 02:38:29 +0000]
change in mysql grammar

15 years agoturn data_type_mapping into an attribute
Justin Hunter [Fri, 7 Aug 2009 05:49:48 +0000]
turn data_type_mapping into an attribute

15 years agoforgot a pesky semicolon
Justin Hunter [Fri, 7 Aug 2009 05:42:59 +0000]
forgot a pesky semicolon

15 years agoinitial mysql dbi parser role
Justin Hunter [Wed, 5 Aug 2009 22:53:28 +0000]
initial mysql dbi parser role

15 years agominor change
Justin Hunter [Wed, 5 Aug 2009 22:53:08 +0000]
minor change

15 years agoinitial mysql grammar
Justin Hunter [Wed, 5 Aug 2009 22:48:48 +0000]
initial mysql grammar

15 years agoadd float type
Justin Hunter [Wed, 5 Aug 2009 22:44:19 +0000]
add float type

15 years agoremove comment
Justin Hunter [Wed, 5 Aug 2009 22:37:39 +0000]
remove comment

15 years agotypo
Justin Hunter [Tue, 4 Aug 2009 02:28:46 +0000]
typo

15 years agodon't use a precompiled version
Justin Hunter [Sat, 1 Aug 2009 23:32:51 +0000]
don't use a precompiled version

15 years agochange what roles are applied to ddl
Justin Hunter [Sat, 1 Aug 2009 23:32:28 +0000]
change what roles are applied to ddl

15 years agochange current_timestamp to now)
Justin Hunter [Sat, 1 Aug 2009 23:32:01 +0000]
change current_timestamp to now)

15 years agoinital SQLite grammar
Justin Hunter [Fri, 31 Jul 2009 02:56:44 +0000]
inital SQLite grammar

15 years agoapply ddl parser role
Justin Hunter [Wed, 29 Jul 2009 15:07:37 +0000]
apply ddl parser role

15 years agoallow detection of ddl parser
Justin Hunter [Wed, 29 Jul 2009 15:07:20 +0000]
allow detection of ddl parser

15 years agoadd comments attribute
Justin Hunter [Wed, 29 Jul 2009 05:43:24 +0000]
add comments attribute

15 years agorename remarks to comments
Justin Hunter [Wed, 29 Jul 2009 05:43:11 +0000]
rename remarks to comments

15 years agooverride _column_data_type for SQLite
Justin Hunter [Sun, 26 Jul 2009 16:29:37 +0000]
override _column_data_type for SQLite

15 years agoseparate out getting the column DATA_TYPE
Justin Hunter [Sun, 26 Jul 2009 16:28:58 +0000]
separate out getting the column DATA_TYPE

15 years agofix type constraint
Justin Hunter [Sat, 25 Jul 2009 18:05:40 +0000]
fix type constraint

15 years agouse TryCatch
Justin Hunter [Sat, 25 Jul 2009 16:40:06 +0000]
use TryCatch

15 years agomove to MooseX::Declare
Justin Hunter [Thu, 23 Jul 2009 07:16:10 +0000]
move to MooseX::Declare

15 years agouse delgation onto Parser and Producer instead of after BUILD
Justin Hunter [Wed, 15 Jul 2009 20:08:08 +0000]
use delgation onto Parser and Producer instead of after BUILD

15 years agoadd Parser and Producer class_types
Justin Hunter [Wed, 15 Jul 2009 20:01:13 +0000]
add Parser and Producer class_types

15 years agomove these to ::Producer::SQL::
Justin Hunter [Tue, 14 Jul 2009 23:53:09 +0000]
move these to ::Producer::SQL::

15 years agomove these to ::Producer::SQL::
Justin Hunter [Tue, 14 Jul 2009 23:52:50 +0000]
move these to ::Producer::SQL::

15 years agotrack temporary tables
Justin Hunter [Sun, 12 Jul 2009 16:40:32 +0000]
track temporary tables

15 years agoadd ability to track temporary tables
Justin Hunter [Sun, 12 Jul 2009 16:40:15 +0000]
add ability to track temporary tables

15 years agodon't create an index if one already exists (favor PRIMARY_KEY over UNIQUE)
Justin Hunter [Sun, 12 Jul 2009 15:22:22 +0000]
don't create an index if one already exists (favor PRIMARY_KEY over UNIQUE)

15 years agocall it a NORMAL index, not NON_UNIQUE
Justin Hunter [Sun, 12 Jul 2009 15:19:51 +0000]
call it a NORMAL index, not NON_UNIQUE

15 years agoadd index parsing
Justin Hunter [Sun, 12 Jul 2009 07:48:21 +0000]
add index parsing

15 years agomake _add_foreign_keys method name more appropriate
Justin Hunter [Sun, 12 Jul 2009 07:34:45 +0000]
make _add_foreign_keys method name more appropriate

15 years agofix up PrimaryKey and ForeignKey parsing
Justin Hunter [Sun, 12 Jul 2009 07:24:57 +0000]
fix up PrimaryKey and ForeignKey parsing

15 years agoadd drop_table and no_comments attributes
Justin Hunter [Sun, 12 Jul 2009 07:24:13 +0000]
add drop_table and no_comments attributes

15 years agoadd foreign key action constants
Justin Hunter [Sat, 11 Jul 2009 19:28:52 +0000]
add foreign key action constants

15 years agoadd PrimaryKey and ForeignKey classes
Justin Hunter [Sat, 11 Jul 2009 19:28:31 +0000]
add PrimaryKey and ForeignKey classes

15 years agouse Tie::IxHash
Justin Hunter [Fri, 10 Jul 2009 22:56:51 +0000]
use Tie::IxHash

15 years agouse Tie::IxHash default
Justin Hunter [Fri, 10 Jul 2009 22:53:20 +0000]
use Tie::IxHash default

15 years agouse Sub::Exporter instead of Exporter
Justin Hunter [Fri, 10 Jul 2009 05:59:25 +0000]
use Sub::Exporter instead of Exporter

15 years agomap integer
Justin Hunter [Fri, 10 Jul 2009 00:45:38 +0000]
map integer

15 years agoimport constants
Justin Hunter [Fri, 10 Jul 2009 00:45:27 +0000]
import constants

15 years agodon't required => 1 when lazy & default specified
Justin Hunter [Fri, 10 Jul 2009 00:22:01 +0000]
don't required => 1 when lazy & default specified

15 years agouse Tie::IxHash for an ordered hash
Justin Hunter [Fri, 10 Jul 2009 00:20:07 +0000]
use Tie::IxHash for an ordered hash

15 years agoremove redundant required => 0
Justin Hunter [Thu, 9 Jul 2009 21:47:11 +0000]
remove redundant required => 0

15 years agoremove redundant required => 0
Justin Hunter [Thu, 9 Jul 2009 21:45:07 +0000]
remove redundant required => 0

15 years ago_very_ basic working SQLite producer
Justin Hunter [Wed, 8 Jul 2009 01:47:25 +0000]
_very_ basic working SQLite producer

15 years agofix a spelling mistake and abstract some code into functions
Justin Hunter [Wed, 8 Jul 2009 01:46:36 +0000]
fix a spelling mistake and abstract some code into functions

15 years agoColumn data_type is now an integer (DBI constant) not a freeform string
Justin Hunter [Wed, 8 Jul 2009 01:45:44 +0000]
Column data_type is now an integer (DBI constant) not a freeform string

15 years agoinitial import of SQL::Translator constants
Justin Hunter [Wed, 8 Jul 2009 01:45:20 +0000]
initial import of SQL::Translator constants

15 years agoimplement 'use aliased'
Justin Hunter [Mon, 6 Jul 2009 06:57:10 +0000]
implement 'use aliased'
code format change

15 years agouse namespace::autoclean
Justin Hunter [Mon, 6 Jul 2009 02:51:08 +0000]
use namespace::autoclean

15 years agofirst try at producing
Justin Hunter [Fri, 3 Jul 2009 21:57:56 +0000]
first try at producing

15 years agouse filename instead of ddl
Justin Hunter [Fri, 3 Jul 2009 21:57:21 +0000]
use filename instead of ddl

15 years agominor cosmetic change
Justin Hunter [Fri, 3 Jul 2009 21:57:06 +0000]
minor cosmetic change

15 years agoadd support for sequences
Justin Hunter [Fri, 3 Jul 2009 21:56:46 +0000]
add support for sequences

15 years agobasic Producer roles
Justin Hunter [Fri, 3 Jul 2009 21:56:19 +0000]
basic Producer roles

15 years agoadd ability to store sequences
Justin Hunter [Fri, 3 Jul 2009 21:54:53 +0000]
add ability to store sequences

15 years agodon't extend SQL::Translator
Justin Hunter [Fri, 3 Jul 2009 17:42:26 +0000]
don't extend SQL::Translator

15 years agomove from no Moose[::Role] to use namespace::autoclean
Justin Hunter [Thu, 2 Jul 2009 16:29:46 +0000]
move from no Moose[::Role] to use namespace::autoclean

15 years agouse Moose::Role gets accompanied with no Moose::Role
Justin Hunter [Thu, 2 Jul 2009 13:53:43 +0000]
use Moose::Role gets accompanied with no Moose::Role
remove comments
sub { undef } can just be undef

15 years agoremove comments
Justin Hunter [Thu, 2 Jul 2009 07:45:15 +0000]
remove comments

15 years agoproper parsing, using add_* instead of throwing a whole blob in
Justin Hunter [Thu, 2 Jul 2009 07:34:49 +0000]
proper parsing, using add_* instead of throwing a whole blob in

15 years agogone
Justin Hunter [Thu, 2 Jul 2009 07:34:07 +0000]
gone

15 years agoadd curries where applicable
Justin Hunter [Thu, 2 Jul 2009 07:33:07 +0000]
add curries where applicable
added:
no Moose;
__PACKAGE__->meta->make_immutable;

15 years agoquasi-factory
Justin Hunter [Thu, 2 Jul 2009 07:32:37 +0000]
quasi-factory

15 years agoMoose is not needed here
Justin Hunter [Thu, 2 Jul 2009 07:32:03 +0000]
Moose is not needed here

15 years agomake these roles
Justin Hunter [Thu, 2 Jul 2009 07:31:36 +0000]
make these roles

15 years agoremove debug
Justin Hunter [Sun, 21 Jun 2009 14:15:28 +0000]
remove debug

15 years agocleanup of object creation
Justin Hunter [Sun, 21 Jun 2009 13:59:08 +0000]
cleanup of object creation