Are there any plans to add compile time checks for...
# squarelibraries
m
Are there any plans to add compile time checks for valid SQLDelights migrations ? I just made the following:
Copy code
-- Player.sq
CREATE TABLE hockeyPlayer (
  player_number INTEGER NOT NULL,
  full_name TEXT NOT NULL,
  draft_year INTEGER NOT NULL
);
Copy code
-- 1.sqm
ALTER TABLE hockeyPlayer ADD COLUMN draft_year TEXT NOT NULL;
That seems to compile just fine while I'm not sure what the runtime behavior is (draft_year can be a TEXT or an INTEGER). Is it possible to catch such usages ?