rubenv / sql-migrate

SQL schema migration tool for Go.
MIT License
3.24k stars 280 forks source link

Support predeclared Go types in type overrides #161

Closed ean closed 4 years ago

ean commented 4 years ago

I am using the postgres citext extension in my code, and would like to map the citext type to a string value (I am using it with NOT NULL). But this is explicitly forbidden in the override parse code here: https://github.com/kyleconroy/sqlc/blob/79ec91489719ebcef55b61e07b0083821462dfa3/internal/dinosql/config.go#L103 , which requires both a . and / in the go type.

rubenv commented 4 years ago

I'm not following. What does this have to do with sql-migrate?

ean commented 4 years ago

Absolutely nothing, I am apparently just not able to create issues in the correct project today. Sorry about the noise.

rubenv commented 4 years ago

No worries, just blame it on today being a Sunday!