Open Tassil0 opened 1 year ago
Do you have any custom aliases configuration?
Nope, nothing extra configured.
I can't export the SQL for your schema without creating an account. Kindly share a schema in SQL that I can test with, I really don't want to create an account.
DATETIME
is not a valid postgres column type"public"."queries"
not "public.queries"
. With the way you defined it, the table name is seen as the literal "public.queries"
which is what causes the weird issues during generation since SQLBoiler does not expect a period in the table name.SQLBoiler should account for .
in a table name, and I will look into fixing it later.
However, this is also the expected behaviour so I'll ask you to either rename your tables appropriately, of if the naming is intentional, to use a table alias to define how SQLBoiler's generation should work.
I see, I didn't notice at all, it was not meant to be "public.queries" for the table name. I just assumed the DbDesigner export was correct and didn't check.
What version of SQLBoiler are you using (
sqlboiler --version
)?SQLBoiler v4.14.1
What is your database and version (eg. Postgresql 10)
SQLBoiler
v4.14.1
If this happened at generation time what was the full SQLBoiler command you used to generate your models? (if not applicable leave blank)
sqlboiler psql
What is the output of the command above with the
-d
flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)Please provide a relevant database schema so we can replicate your issue (Provided you are comfortable sharing this)
https://dbdesigner.page.link/BHmEiUykHqkEhWr99
Further information. What did you do, what did you expect?
Was trying to generate for the first time as described in the getting started guide.