Skip to content

migrations (config) #11751

Closed
Closed

Description

@jly36963

Issue Description

What was unclear/insufficient/not covered in the documentation

I am trying to do a migration (postgres) with the sequelize-cli. The docs do not include instructions on updating the 'database' key in the 'config.json' file generated by the command sequelize init.

The migration kept failing because it was trying to do operations on a mysql database (the default).

If possible: Provide some suggestion on how we can enhance the docs

With some poking around I finally figured out why the migration needed the mysql2 package and port 3306. (I was confused as to why a postgres migration would need mysql.) In my opinion, a simple outline of the changes that need to be made in 'config.json' would be helpful.

Is this issue dialect-specific?

My specific example only applies to postgres, but any other user who uses a database other than mysql will have a similar problem.

Activity

  1. added
    docs
    on Dec 16, 2019
  2. added
    status: wip
    on Dec 23, 2019
  3. self-assigned this
    on Dec 23, 2019
  4. removed
    status: wip
    on Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions