db-migrate / db-migrate/english-docs

Feature request: AFTER keyword for addColumn()

Open
#19 2 comments 1 reaction 0 assignees View on GitHub
enhancement Good for new Contributors
Dominant language
No language data
Stars
17
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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!](https://www.bountysource.com/issues/41899411-feature-request-after-keyword-for-addcolumn?utm_campaign=plugin&utm_content=tracker%2F11704504&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F11704504&utm_medium=issues&utm_source=github).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.