Commit Graph

9 Commits

Author SHA1 Message Date
Taylor Otwell f3df013753 Added support for decimal data type in schema.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 14:23:59 -06:00
Taylor Otwell 1d93cab0d0 Cleaning up foreign key support. Added drop_foreign command.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 10:23:27 -06:00
Taylor Otwell c002ae6337 Use constraints for "unique" on Postgres schemas.
Previous was using CREATE INDEX, should be using ADD CONSTRAINT as this will create the index automatically per Postgres documentation.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 09:54:43 -06:00
Taylor Otwell 1302ded5f8 Added foreign key support to schema builder for MySQL, Postgres, and SQL Server.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 09:41:30 -06:00
Colin Viebrock b7d068f2f2 Move method into grammar.php instead of duplicating in each grammar 2012-02-29 15:21:20 -06:00
Colin Viebrock 26c7273493 Add unsigned() modifier, so you can create unsigned integer columns 2012-02-29 15:09:13 -06:00
Taylor Otwell 0f2d311739 cleaning up some code. 2012-02-12 16:34:11 -06:00
Taylor Otwell 3a92facc76 updated routing to fix several issues. 2012-02-12 14:48:36 -06:00
Taylor Otwell b5442c67fc merged skunkworks into develop. 2012-01-16 13:59:24 -06:00