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

Thorsten Glaser t.glaser at tarent.de
Mon Jul 1 15:43:11 CEST 2013


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?

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.

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



More information about the Fusionforge-general mailing list