Skip to content

Ignore file in migrations folder #756

Open

Description

@jasonbronson

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

Activity

  1. alexcoroza commented on Nov 12, 2019

    @alexcoroza

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

    Any updates on this one?

  2. vincentdesmares commented on Nov 14, 2019

    @vincentdesmares

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

  3. stale commented on Jun 21, 2020

    @stale

    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.

  4. FlyingPumba commented on Jul 5, 2021

    @FlyingPumba

    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.

  5. dfyz011 commented on Apr 2, 2024

    @dfyz011

    Any updates?

  6. reopened this on Apr 2, 2024
  7. WikiRik commented on Apr 2, 2024

    @WikiRik
    Member

    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)"

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions