Skip to content

Feature request: Need options on db:create #698

Closed

Description

@ALiangLiang

#590
Because dialectOptions is just used for connection. If I specify charset utf8mb4 on that, it's just apply on connection. When I create a database by this connection. It's still use default charset latin1

So I need parameters on db:create. Like sequelize db:create --charset 'utf8mb4' to set default charset on database.

Options list on QueryInterface:

  • charset
  • collate
  • encoding
  • ctype
  • template
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions