Table of Contents

FixInvalidForeignKeysMigration

Database Schema Description
Transaction gen Fix inherited from foreign keys that was incorrect.

SQL Statements


ALTER TABLE gen.localisation_set
	DROP CONSTRAINT IF EXISTS localisation_set_localisation_set_id_fkey;

ALTER TABLE gen.localisation_key
	ADD FOREIGN KEY(localisation_set_id)
	REFERENCES gen.localisation_set(localisation_set_id);