Commit Graph

23 Commits

Author SHA1 Message Date
Tobias Orterer e0d491cb15 Added UNSIGNED to mysql grammar inrementer()
Added UNSIGNED to the mysql grammar file because auto increment fields
only run upwards, it's a waste of space to provide negative values by
the default SIGNED state of INT.
2012-06-16 19:46:50 -07:00
Taylor Otwell 1ac911f05d Merge branch 'master' of github.com:laravel/laravel into develop 2012-06-03 17:36:16 -05:00
AndrewBNZ c8466f5766 Fixed typo from previous fix, should be $command->columns not $command->$columns. 2012-06-03 23:51:38 +12:00
Taylor Otwell 691d68ba54 improve / fix postgres support. 2012-05-30 14:23:27 -05:00
AndrewBNZ b4b9c1f442 Fixes Laravel issue #727 - updated sqlserver grammar file to fix error in primary key function. 2012-05-30 18:42:22 +12:00
Taylor Otwell 94b8582865 Add DateTime support to database binding layer.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-04-10 15:03:42 -05:00
Taylor Otwell ce9f4f1db7 Added support for on_delete and on_cascade of foreign keys. 2012-03-21 10:33:06 -05:00
Taylor Otwell 6f7780a0f8 Merge branch 'refs/heads/master' into develop 2012-03-07 14:13:01 -06:00
Shawn McCool 17ac74d7f8 made all sqlite fields nullable to fix various problems with the difference in sqlite's null functionality 2012-03-07 20:52:17 +01:00
Taylor Otwell 46595ce55e Unsigned only supported by MySQL.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-04 14:28:49 -06:00
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 d43157b61f Fix drop_foreign SQL grammar for MySQL.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-03-02 10:27:37 -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 479b3f6773 cleaning up various codes. 2012-02-13 23:51:33 -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 1ec6fc766c added support for database table prefixes. 2012-01-29 13:07:15 -06:00
Taylor Otwell 27fdb1e3f5 added key and session tasks. 2012-01-24 15:02:51 -06:00
Taylor Otwell b5442c67fc merged skunkworks into develop. 2012-01-16 13:59:24 -06:00