Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for specifying a nullable field #203 #249

Merged
merged 8 commits into from
Jun 23, 2016

Commits on Jun 22, 2016

  1. Add support for specifying a nullable field

    Adds support for using the "?" as a suffix to the column data type to indicate that it is nullable.
    Example:
        bin/cake bake migration CreatePerson name:string description:string? age:integer?
    nitincoded committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    bd453ee View commit details
    Browse the repository at this point in the history
  2. Added test for nullable column

    Nitin committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    f76b745 View commit details
    Browse the repository at this point in the history
  3. Extended the test to:

    name:string description:string? age:integer?
    Nitin committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    f6e73fe View commit details
    Browse the repository at this point in the history
  4. limit element (value 11) added to the expected array for the assertio…

    …n comparison for the generated integer column
    Nitin committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    762ae72 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8281ccb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c75e505 View commit details
    Browse the repository at this point in the history
  7. Suggested code style changes made

    Nitin committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    09cfdf4 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2016

  1. Changed substr args for brevity

    Nitin committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    a8f0f21 View commit details
    Browse the repository at this point in the history