bakape / hydron

media tagger and organizer
GNU Lesser General Public License v3.0
95 stars 9 forks source link

panic: pq: zero-length delimited identifier at or near """" #41

Closed Chiiruno closed 6 years ago

Chiiruno commented 6 years ago

https://github.com/bakape/hydron/blob/master/db/migrations.go#L79

We need to add not null before the empty string, probably.

Chiiruno commented 6 years ago

It's strange I'm getting this error now, never got it when I tested the commit that added this. Must be because I'm using a different postgres version. (9.6+)

Chiiruno commented 6 years ago

Nope, just need to change it to single quotes. Double quotes just act like nothing is there, instead of an empty string.