db-migrate / db-migrate/node-db-migrate

[feature] could we have pure SQL migration without JS files?

Open
#732 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
361
PR merge metrics
No merged PRs in 30d

Description

## I'm submitting a...

- [ ] Bug report
- [x] Feature request
- [ ] Question

## Current behavior

Creating migration always creates a boilerplate JS file that is committed to source.
The problem is that it can be edited -> broken.

It would be helpful to have only SQL files that would be processed in a uniform way, with some option.

## Expected behavior

`--sql` option that would look for sql files instead of JS

## What is the motivation / use case for changing the behavior?

As per above

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.