Downloads
Stars
Version
Provides extra / missing functionality to Laravels database layer.
Add rcrowe\laravel-database
as a requirement to composer.json:
{
"require": {
"rcrowe/laravel-sentry": "0.1.*"
}
}
Update your packages with composer update
or install with composer install
.
Once Composer has installed or updated your packages you need to register with Laravel itself. Open up app/config/app.php and the existing database service provider 'Illuminate\Database\DatabaseServiceProvider'
and replace it with the following:
'rcrowe\Database\DatabaseServiceProvider'
This library provides the following extra functionality:
character
has been added to the schema builder (MySql / Postgre). Use like $table->character('field', 6)
. Taken from http://forums.laravel.io/viewtopic.php?id=7320