12 years agoadd constraints after all tables are added master
Justin Hunter [Tue, 28 Jun 2011 05:08:33 +0000]
add constraints after all tables are added

12 years agoadded two tables, so up the number expected
Justin Hunter [Tue, 28 Jun 2011 05:03:03 +0000]
added two tables, so up the number expected

12 years agoadd referenced tables
Justin Hunter [Tue, 28 Jun 2011 05:02:28 +0000]
add referenced tables

12 years agoremove unneeded type
Justin Hunter [Mon, 27 Jun 2011 13:38:57 +0000]
remove unneeded type

12 years agook, so I do need to pass in a HashRef
Justin Hunter [Mon, 27 Jun 2011 04:09:59 +0000]
ok, so I do need to pass in a HashRef

12 years agoremove unneeded { }
Justin Hunter [Tue, 21 Jun 2011 18:31:07 +0000]
remove unneeded { }

12 years agosome better handling of munging fields to columns
Justin Hunter [Tue, 21 Jun 2011 18:30:53 +0000]
some better handling of munging fields to columns

12 years agoapparenlty add_column(coerce ...) works now
Justin Hunter [Tue, 21 Jun 2011 18:30:35 +0000]
apparenlty add_column(coerce ...) works now

12 years agouse Tie::IxHash methods and accessors
Justin Hunter [Tue, 21 Jun 2011 18:30:02 +0000]
use Tie::IxHash methods and accessors

12 years agoonly allow Str now
Justin Hunter [Tue, 21 Jun 2011 18:29:01 +0000]
only allow Str now

12 years agobetter handling of FKs
Justin Hunter [Tue, 21 Jun 2011 18:28:06 +0000]
better handling of FKs

12 years agoallow get_column to take anything coerceable into a Column (currently only Str, HashR...
Justin Hunter [Tue, 21 Jun 2011 18:27:35 +0000]
allow get_column to take anything coerceable into a Column (currently only Str, HashRef and Column)

12 years agoset the table on the column
Justin Hunter [Tue, 21 Jun 2011 18:27:04 +0000]
set the table on the column

12 years agoadd a has_columns method
Justin Hunter [Tue, 21 Jun 2011 18:26:35 +0000]
add a has_columns method

12 years agoadd an around BUILDARGS to process fields arg properly
Justin Hunter [Tue, 21 Jun 2011 18:25:28 +0000]
add an around BUILDARGS to process fields arg properly

12 years agocoerce from Column from Str
Justin Hunter [Tue, 21 Jun 2011 18:24:34 +0000]
coerce from Column from Str

12 years agomake the default owner ..owner
Justin Hunter [Tue, 21 Jun 2011 18:23:46 +0000]
make the default owner ..owner

12 years agofix tests
Justin Hunter [Tue, 21 Jun 2011 12:04:42 +0000]
fix tests

12 years agorewrite Makefile.PL
Justin Hunter [Mon, 20 Jun 2011 14:48:11 +0000]
rewrite Makefile.PL

12 years agouse Try::Tiny instead of TryCatch
Justin Hunter [Mon, 20 Jun 2011 14:47:46 +0000]
use Try::Tiny instead of TryCatch

13 years agocoerce $column for add_column
Justin Hunter [Fri, 12 Nov 2010 18:43:11 +0000]
coerce $column for add_column

13 years agoformatting fix
Justin Hunter [Fri, 12 Nov 2010 18:42:40 +0000]
formatting fix

13 years agochange method used to determine if a table is valid origin/HEAD origin/master
Justin Hunter [Thu, 21 Oct 2010 21:58:49 +0000]
change method used to determine if a table is valid

13 years agoadd error attr for back-compat
Justin Hunter [Thu, 21 Oct 2010 21:58:24 +0000]
add error attr for back-compat

13 years agodatabase_event does not need to be explictly added, constructor works properly now
Justin Hunter [Thu, 21 Oct 2010 21:58:05 +0000]
database_event does not need to be explictly added, constructor works properly now

13 years agoremove warning
Justin Hunter [Thu, 21 Oct 2010 21:57:41 +0000]
remove warning

13 years agomissed some IxHash stuff
Justin Hunter [Thu, 21 Oct 2010 21:57:15 +0000]
missed some IxHash stuff

13 years agoreturn values when using native traits
Justin Hunter [Thu, 21 Oct 2010 21:55:59 +0000]
return values when using native traits

13 years agochange usage of Tie::IxHash
Justin Hunter [Thu, 21 Oct 2010 21:54:49 +0000]
change usage of Tie::IxHash

13 years agouse $pdata instead of $tdata for procedure info
Justin Hunter [Mon, 27 Sep 2010 21:12:51 +0000]
use $pdata instead of $tdata for procedure info

13 years agoadd the field for later on
Justin Hunter [Mon, 27 Sep 2010 21:12:12 +0000]
add the field for later on

13 years agodatabase_events needs to be an ArrayRef
Justin Hunter [Mon, 27 Sep 2010 21:10:06 +0000]
database_events needs to be an ArrayRef

13 years agoadd a "data" attribute
Justin Hunter [Wed, 22 Sep 2010 15:45:39 +0000]
add a "data" attribute

13 years agotrim down imports
Justin Hunter [Wed, 22 Sep 2010 15:45:18 +0000]
trim down imports

13 years agomove from Bool to Bit
Justin Hunter [Wed, 22 Sep 2010 15:44:30 +0000]
move from Bool to Bit

13 years agoremove alot of the "scalaring"
Justin Hunter [Wed, 22 Sep 2010 15:43:59 +0000]
remove alot of the "scalaring"

13 years agofix up is_nullable and is_unique being wrong at times
Justin Hunter [Wed, 22 Sep 2010 15:43:09 +0000]
fix up is_nullable and is_unique being wrong at times

13 years agoformatting fixes
Justin Hunter [Wed, 22 Sep 2010 15:05:45 +0000]
formatting fixes

13 years agowe give out generic names to non-named constraints now
Justin Hunter [Wed, 22 Sep 2010 15:01:38 +0000]
we give out generic names to non-named constraints now

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