Colin Viebrock
7d4a346f84
Adding Schema::rename('oldtable','newtable') support
...
Signed-off-by: Colin Viebrock <colin@viebrock.ca>
2012-04-02 11:30:53 -05:00
Taylor Otwell
e96f75e8cc
Fixing bugs in database layer.
2012-03-22 13:12:27 -05:00
Taylor Otwell
e5b3b196ab
Updated change-log. Prepend table names to default index names in schema.
2012-03-22 09:11:51 -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
b29f8a88fe
add default value for index names.
2012-02-15 16:17:47 -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
Phill Sparks
62072e5281
PHPDoc fixes
2012-02-04 21:30:52 +00: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
dd8ebe60f0
make index names required.
2012-01-21 10:36:39 -06:00
Taylor Otwell
b5442c67fc
merged skunkworks into develop.
2012-01-16 13:59:24 -06:00