cli icon indicating copy to clipboard operation
cli copied to clipboard

Ignore file in migrations folder

Open jasonbronson opened this issue 5 years ago • 6 comments

Would be great to able to ignore README.md in the migrations folder from the configuration file.

jasonbronson avatar Mar 15 '19 21:03 jasonbronson

Would be great to able to ignore README.md in the migrations folder from the configuration file.

Any updates on this one?

alexcoroza avatar Nov 12 '19 10:11 alexcoroza

Also useful for other helpful files like .eslintrc.json. This should be configurable.

vincentdesmares avatar Nov 14 '19 16:11 vincentdesmares

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 21 '20 18:06 stale[bot]

Is there any way to workaround this issue? I also have a .eslintrc.json file inside my migrations folder, and its breaking the sequelize db:migrate command.

FlyingPumba avatar Jul 05 '21 18:07 FlyingPumba

Any updates?

dfyz011 avatar Apr 02 '24 04:04 dfyz011

No updates on this. I tried to reproduce it on #1114 but wasn't able to. If you have a reproducible example for this, we can look into this further.

See #1113 for some comments we had about this earlier, including this suggestion for a future feature: "I think we should look into adding an extensions glob option, and only treat files that match the glob as migrations. It would give the ability to skip files by setting it to something like *.migration.js.

(it would also solve the issue we have with .ts file extensions)"

WikiRik avatar Apr 02 '24 06:04 WikiRik