sunary / sqlize

generate SQL migration schema from golang models and the current SQL schema.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Postgres SQL output incorrect.

facefunk opened this issue · comments

Hi,

Very nice project! I discovered sqlize on a reddit post while I was looking for a Go SQL parser implementation to incorporate into pgdiff.

Anyway, it seems the Postgres SQL output is currently still in-progress but you've done pretty much all the work already so a trivial fix is possible.

Would you be opposed to this patch? It completely fixes the issues for my current use case.

Thanks.

commented

Thanks for your contribution,

I'm not familiar with the Postgres SQL so much, feel free if you have any issues with them, let me know or create any PR can fix your issues.

patch merged: #30