fixing SQL migration scripts

Jaromir Talir jaromir.talir at nic.cz
Fri Aug 19 11:28:54 CEST 2016


Hi Piotr,

looks like you are right. Thanks for pointing to this issue. I'll
rather check with more people but your patch seems correct.

Jaromir

On Tue, 2016-08-16 at 15:07 +0200, Piotr Przybył wrote:
> 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
> Piotr
> _______________________________________________
> fred-users mailing list
> fred-users at lists.nic.cz
> https://lists.nic.cz/cgi-bin/mailman/listinfo/fred-users
-- 
Jaromir Talir
Technicky partner / Technical Fellow
-------------------------------------------
CZ.NIC, z.s.p.o.  --    .cz domain registry
Milesovska 5, 130 00 Praha 3, Czech Republic
mailto:jaromir.talir at nic.cz  http://nic.cz/
sip:jaromir.talir at nic.cz tel:+420.222745107
mob:+420.739632712       fax:+420.222745112
-------------------------------------------




More information about the fred-users mailing list