[Fusionforge-general] [Fusionforge-commits] FusionForge branch master updated. a14ff6755842e7b26fdf674ebfde091faad6a4a5

franck.villaume at trivialdev.com franck.villaume at trivialdev.com
Mon Jul 1 15:49:17 CEST 2013



> Le 1 juillet 2013 à 15:43, Thorsten Glaser <t.glaser at tarent.de> a écrit :
>
>
> On Mon, 1 Jul 2013, franck.villaume at trivialdev.com wrote:
>
> > > > -ALTER TABLE stats_agg_site_by_group ADD FOREIGN KEY (group_id)
> > > > REFERENCES
> > > > groups ON DELETE CASCADE ON UPDATE CASCADE;
>
> > When you run the script on real data, your migration will end without
> > executing
> > this script.
> > This script MUST be modify to allow migration path.
>
> Ah. You mean that these ADD FOREIGN KEY produce errors?

yes

>
> In that case, I think, you are right to remove this,
> but you must still add a 2013……… script that *also*
> removes them, for the database installations that
> already have this script applied.

You're right.
I will add the script asap.

Regards,
nerville.



>
> I think there is a DROP CONSTRAINT IF EXISTS or
> something like that, I had to do something similar
> in tarent-activity last week.
>
> bye,
> //mirabilos
> --
> tarent solutions GmbH
> Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
> Tel: +49 228 54881-393 • Fax: +49 228 54881-314
> HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
> Geschäftsführer: Boris Esser, Sebastian Mancke
>
> _______________________________________________
> Fusionforge-general mailing list
> Fusionforge-general at lists.fusionforge.org
> http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-general
TrivialDev Founder
http://trivialdev.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fusionforge.org/pipermail/fusionforge-general/attachments/20130701/54128d22/attachment-0001.html>


More information about the Fusionforge-general mailing list