13 years agothis is probably a better coercion
Justin Hunter [Tue, 27 Jul 2010 17:25:03 +0000]
this is probably a better coercion

13 years agofix minor erorr
Justin Hunter [Tue, 27 Jul 2010 03:40:39 +0000]
fix minor erorr

13 years agoadd order to various object creations, fix how data is passed in to object creation
Justin Hunter [Tue, 27 Jul 2010 03:20:58 +0000]
add order to various object creations, fix how data is passed in to object creation

13 years agofix database_events
Justin Hunter [Tue, 27 Jul 2010 03:19:28 +0000]
fix database_events

13 years agofix up some ordering issues
Justin Hunter [Tue, 27 Jul 2010 03:18:53 +0000]
fix up some ordering issues

13 years agoshow_warnings should default to 0
Justin Hunter [Tue, 27 Jul 2010 03:17:35 +0000]
show_warnings should default to 0

13 years agofix up versioning
Justin Hunter [Tue, 27 Jul 2010 03:17:06 +0000]
fix up versioning

13 years agofixup the test a bit
Justin Hunter [Tue, 27 Jul 2010 03:11:49 +0000]
fixup the test a bit

13 years agofix issue with order being wrong
Justin Hunter [Mon, 26 Jul 2010 23:36:47 +0000]
fix issue with order being wrong

13 years agomake "is_unique" an attribute
Justin Hunter [Mon, 26 Jul 2010 23:36:25 +0000]
make "is_unique" an attribute

13 years agofix typo
Justin Hunter [Mon, 26 Jul 2010 20:33:36 +0000]
fix typo

14 years agolets remove that extra ;
Justin Hunter [Tue, 23 Mar 2010 23:37:57 +0000]
lets remove that extra ;

14 years agomove the class_type around
Justin Hunter [Tue, 23 Mar 2010 23:35:51 +0000]
move the class_type around

14 years agofix type constraint in UglyLanguage
Arthur Axel 'fREW' Schmidt [Tue, 23 Mar 2010 23:16:01 +0000]
fix type constraint in UglyLanguage

14 years agoMerge branch 'master' of git://github.com/arcanez/SQL-Translator
Arthur Axel 'fREW' Schmidt [Tue, 23 Mar 2010 23:04:28 +0000]
Merge branch 'master' of git://github.com/arcanez/SQL-Translator

14 years agogitignore will help
Arthur Axel 'fREW' Schmidt [Tue, 23 Mar 2010 23:04:15 +0000]
gitignore will help

14 years agono swapfiles allowed
Justin Hunter [Tue, 23 Mar 2010 22:58:24 +0000]
no swapfiles allowed

14 years agoDBIx::Class parser stubs
Justin Hunter [Tue, 23 Mar 2010 20:32:19 +0000]
DBIx::Class parser stubs

14 years agobackcompat SQL::Translator::Schema::Constants
Justin Hunter [Tue, 23 Mar 2010 20:31:52 +0000]
backcompat SQL::Translator::Schema::Constants

14 years agofix SQLite parsing and code clean up
Justin Hunter [Wed, 24 Feb 2010 04:43:52 +0000]
fix SQLite parsing and code clean up

14 years agocreate empty README, will populate later
Justin Hunter [Sun, 21 Feb 2010 02:58:14 +0000]
create empty README, will populate later

14 years agoadd MooseX::Aliases (to allow for to/from and producer/parser)
Justin Hunter [Sun, 21 Feb 2010 02:50:41 +0000]
add MooseX::Aliases (to allow for to/from and producer/parser)
change how $parser and $producer are determined in a ->translate
only use the ones from ->new if they haven't been run through already

14 years agodon't clear the schema, but leave the ability to do so if necessary
Justin Hunter [Sat, 20 Feb 2010 23:57:23 +0000]
don't clear the schema, but leave the ability to do so if necessary

14 years agofix view generation
Justin Hunter [Sat, 20 Feb 2010 23:56:56 +0000]
fix view generation

14 years agoAdd method to populate a column extra fields
Graham Barr [Sat, 20 Feb 2010 01:04:40 +0000]
Add method to populate a column extra fields

14 years agoAdd specific methods for adding foreign keys and indexes for MySQL
Graham Barr [Fri, 9 Oct 2009 05:19:01 +0000]
Add specific methods for adding foreign keys and indexes for MySQL

14 years agoIf schema name is unspecified, select from database
Graham Barr [Fri, 9 Oct 2009 05:18:44 +0000]
If schema name is unspecified, select from database

14 years agopreserve column order
Graham Barr [Fri, 9 Oct 2009 05:15:55 +0000]
preserve column order

columns returned from db are not always in the order that they are defined
in a table. So sort them before adding them to the table

14 years agoAdd parse method for DBI parser
Graham Barr [Fri, 9 Oct 2009 05:15:28 +0000]
Add parse method for DBI parser

14 years agopartial test cleanup, more to come
Justin Hunter [Sat, 20 Feb 2010 01:42:57 +0000]
partial test cleanup, more to come

14 years agoremove some unnecessary code
Justin Hunter [Sat, 20 Feb 2010 01:42:39 +0000]
remove some unnecessary code

14 years agocomment out the trigger for now
Justin Hunter [Sat, 20 Feb 2010 01:42:12 +0000]
comment out the trigger for now

14 years agoclear the schema before throwing another one on
Justin Hunter [Sat, 20 Feb 2010 01:41:57 +0000]
clear the schema before throwing another one on

14 years agoadd (and use) _default_value method, relatively similar to old _apply_default_value
Justin Hunter [Wed, 10 Feb 2010 23:32:05 +0000]
add (and use) _default_value method, relatively similar to old _apply_default_value

14 years agospacing change
Justin Hunter [Wed, 10 Feb 2010 23:31:22 +0000]
spacing change

14 years agochange "fields" into "columns" (backcompat), probably needs some error/type checking
Justin Hunter [Wed, 10 Feb 2010 23:31:07 +0000]
change "fields" into "columns" (backcompat), probably needs some error/type checking

14 years agominor whitespace cleanup
Justin Hunter [Wed, 10 Feb 2010 17:51:30 +0000]
minor whitespace cleanup

14 years agoyes, we want column comments for SQLite
Justin Hunter [Wed, 10 Feb 2010 17:49:34 +0000]
yes, we want column comments for SQLite

14 years agoremove sort
Justin Hunter [Wed, 10 Feb 2010 17:49:18 +0000]
remove sort

14 years agoclean up SQLite producer, mainly header_comment
Justin Hunter [Wed, 10 Feb 2010 17:12:02 +0000]
clean up SQLite producer, mainly header_comment

14 years agodon't try to guess what to load, use a mapping
Justin Hunter [Tue, 9 Feb 2010 21:30:14 +0000]
don't try to guess what to load, use a mapping
more error checking to come later (famous last words)

14 years agotest at least runs now
Justin Hunter [Tue, 9 Feb 2010 06:36:12 +0000]
test at least runs now

14 years agohardwire is_valid for the time being
Justin Hunter [Tue, 9 Feb 2010 06:24:51 +0000]
hardwire is_valid for the time being

14 years agoadded some attributes
Justin Hunter [Tue, 9 Feb 2010 06:24:32 +0000]
added some attributes

14 years agomake this test pass, fix it up to match new SQLT design
Justin Hunter [Tue, 9 Feb 2010 06:24:09 +0000]
make this test pass, fix it up to match new SQLT design

14 years agono longer need to call the methods to add extra/options/comments, constructor has...
Justin Hunter [Tue, 9 Feb 2010 06:23:43 +0000]
no longer need to call the methods to add extra/options/comments, constructor has been fixed

14 years agolong awaited BUILDARGS to help with comments/options/extra
Justin Hunter [Tue, 9 Feb 2010 06:23:05 +0000]
long awaited BUILDARGS to help with comments/options/extra

14 years agocoerce Str to ArrayRef
Justin Hunter [Tue, 9 Feb 2010 06:22:31 +0000]
coerce Str to ArrayRef

14 years agocoerce a Str to ArrayRef
Justin Hunter [Tue, 9 Feb 2010 06:21:45 +0000]
coerce a Str to ArrayRef

14 years agoremove some sorts
Justin Hunter [Wed, 27 Jan 2010 07:20:19 +0000]
remove some sorts

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