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

Feature request: AFTER keyword for addColumn() #19

Open
subatomicglue opened this issue Feb 10, 2017 · 2 comments
Open

Feature request: AFTER keyword for addColumn() #19

subatomicglue opened this issue Feb 10, 2017 · 2 comments

Comments

@subatomicglue
Copy link

subatomicglue commented Feb 10, 2017

Hello, I dont see this in the documentation that is currently live, and searching GitHub for after doesn't turn up anything that looks like the feature.

--> it would be nice to specify the AFTER keyword when using addColumn, which would generate the AFTER string in i.e. a mysql query.

In cases where we want to create a new column after another existing column, we are having to resort to runSql(), which isn't ideal

thanks!


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

@wzrdtales
Copy link
Member

@subatomicglue Hey sorry for the late response!

There was a feature request already for this, but as this has no benefits besides satisfaction in aesthetics it is very low prioritized. But I would be more than happy to accept a PR if anyone is going to create this.

@FabioBachi
Copy link

Hi @subatomicglue and @wzrdtales .
I created a PR with this feature, and also added the BEFORE keyword. You can check it out here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants