-
Notifications
You must be signed in to change notification settings - Fork 545
Closed
Labels
Description
SQLDelight Version
2.0.0-alpha03
IDE Version
IntelliJ 2022.2.1
Dialect
SQLite
Describe the Bug
import kotlinx.datetime.Instant;
import kotlin.Int;
CREATE TABLE coacheeAvatar (
id TEXT NOT NULL PRIMARY KEY,
coacheeId TEXT,
mimeType TEXT NOT NULL,
length INTEGER NOT NULL,
width INTEGER AS Int NOT NULL,
height INTEGER AS Int NOT NULL,
path TEXT NOT NULL,
created INTEGER AS Instant NOT NULL
);
yields:
Somehow, sqldelight is able to get the Instant type, but not the Int type. There are no logs or whatsoever that I can trace to sqldelight in my idea.log file.
I use 2.0.0-alpha03 for my dependencies and 2.0.0-SNAPSHOT-1660129311905 for the IntelliJ plugin since otherwise it's completely broken because it's missing #3422