You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
724 B
14 lines
724 B
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
-- SIU - PREINSCRIPCIÓN |
|
-- Versión de creación / revisión: 3.7.0 |
|
-- FKs tabla: sga_actuacion_doc |
|
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
|
-- DROP INDEX ifk__sga_actuacion_doc__sga_preinscripcion; |
|
CREATE INDEX ifk__sga_actuacion_doc__sga_preinscripcion ON sga_actuacion_doc (id_preinscripcion); |
|
|
|
-- ALTER TABLE sga_actuacion_doc DROP CONSTRAINT fk__sga_actuacion_doc__sga_preinscripcion; |
|
ALTER TABLE sga_actuacion_doc |
|
ADD CONSTRAINT fk__sga_actuacion_doc__sga_preinscripcion FOREIGN KEY (id_preinscripcion) |
|
REFERENCES sga_preinscripcion (id_preinscripcion) on update restrict on delete restrict; |
|
|
|
|