You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEpublications (
id UUID PRIMARY KEY,
title TEXTNOT NULL,
abstract TEXTNOT NULL,
publisher TEXTNOT NULL,
date_published TIMESTAMP WITH TIME ZONENOT NULL,
geometry GEOMETRY NOT NULL,
created TIMESTAMP WITH TIME ZONENOT NULL,
updated TIMESTAMP WITH TIME ZONENOT NULL
);
CREATEINDEXON publications USING GIST(geometry);
CREATEINDEXON publications USING GIN(vector);
CREATEINDEXON publications (created DESC);
Based on my testing I am seeing the correct imports when running a sqlc build from the main branch, which means it should be resolved with the next release.
I have turned this example into an endtoend test and will work on getting it added so that we catch this in the future.
So I think this is a duplicate of #2239. I will close for now but if you see this persist with either a build from main or after the next release please reopen.
Uh oh!
There was an error while loading. Please reload this page.
Version
1.18.0
What happened?
I upgraded from
v1.12.0
tov1.18.0
and see that the generated code no longer includes imports for overrides in mysqlc.yaml
.Here is an example change in one of the generated files after upgrading:
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/5677f36f5aafd936d7732c20ed2e0ed5bde9fb90fa6906d12477e00ea5c5143f
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: