This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Column Types
CakePHP DB Migrations supports a number of column/field types. Most are self explanatory, but a few might need some explaining.
string text integer | int blob boolean | bool float date time timestamp | datetime fkey | fkeysHere is an example of how you would use these types in conjunction with other attributes:
UP: add_field: users: last_name: type: string length: 10 DOWN: drop_field: users: last_nameOr better still, use the shortened format:
UP: add_field: users: last_name: 10 DOWN: drop_field: users: last_nameBecause ‘string’ is the default type, we don’t need to specify it. But if we want ‘last_name’ to a integer with a limit of 5 (some people might!), do this:
UP: add_field: users: last_name: [int, 5] DOWN: drop_field: users: last_name






