Skip to content

MySQL complaining about UNSIGNED type #310

@ScottPierce

Description

@ScottPierce

Dialect

MySQL

Failing SQL

CREATE TABLE Permissions (
    id INTEGER AUTO_INCREMENT PRIMARY KEY,
    userId VARCHAR(32) NOT NULL,
    type UNSIGNED TINYINT NOT NULL,
    FOREIGN KEY (userId) REFERENCES Users(id),
    INDEX(userId)
);

Description

I'm getting an IDE error for the above SQL. It doesn't seem to like my use of UNSIGNED.

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