Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL complaining about UNSIGNED type #310

Open
ScottPierce opened this issue Jan 17, 2022 · 0 comments
Open

MySQL complaining about UNSIGNED type #310

ScottPierce opened this issue Jan 17, 2022 · 0 comments
Labels

Comments

@ScottPierce
Copy link

ScottPierce commented Jan 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant