Skip to content

Support BEFORE and AFTER clauses in createColumnConstraint()  #14

@tohagan

Description

@tohagan

Issue:

Currently when you add a column, it will always be added to the end of the table. However, you often want to group related columns together to ensure that select * queries are more readable and that the column order matches the property order in your application data model.

Solution:

  • Add support for MySQL's BEFORE and AFTER clauses to createColumnConstraint() method by adding before: column and after: column properties to the column spec.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions