Skip to content

Comment is not supported in mysql? #2148

@neroishero

Description

@neroishero

mysql adopter

Current behavior

create table(:fa_servers, primary_key: false) do
add :server_id, :integer, null: false, comment: "server's real id"
add :server_name, :varchar, size: 100 , null: false
add :ip, :string, size: 50 , null: false
end
after run" mix ecto.migrate " successfully, i can NOT see the comment "server's real id" of the field "server_id" in the datebase(mysql), why?

Expected behavior

comment "server's real id" in database

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions