mysql - Laravel 5 migrations : default length of different types in Schema::table method -


i'm setting migration on laravel 5 , wondering if there documentation default lengths of each of column types ? follow convention mysql's?

ex: integer, text, mediumtext, longtext

i'm talking these column types : (http://laravel.com/docs/5.0/schema#adding-columns)

here laravel documentation link column types

http://laravel.com/api/5.0/illuminate/database/schema/blueprint.html

from documentation, guess default of 255 imposed on string() , char() methods evident from

http://laravel.com/api/5.0/illuminate/database/schema/blueprint.html#method_string

hope helps!


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -