fixing SQL migration scripts

Piotr PrzybyƂ piotr at
Tue Aug 16 15:07:08 CEST 2016

Hello cz.nic Team

When testing SQL upgrade script I got the following error:

2.21.5-2.21.6.sql Failed (check /tmp/aaa)
psql:2.21.5-2.21.6.sql:1295: ERROR:  null value in column "zone_id" violates not-null constraint

I took a look and it seems that the script is prepared for your registry only (unless there's
someone else also running .cz ;-))

Could you please tell me if the following patch is correct? It seems to do the job IMHO.

Best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.21.5-2.21.6.sql.patch
Type: text/x-patch
Size: 2266 bytes
Desc: not available
URL: <>

More information about the fred-users mailing list