CREATE TABLE ec_category_template_map (
category_id integer PRIMARY KEY NOT NULL,
template_id integer NOT NULL,
CONSTRAINT ec_category_template_map_category_id_fkey REFERENCES ec_categories (),
CONSTRAINT ec_category_template_map_pkey REFERENCES ec_categories (),
CONSTRAINT ec_category_template_map_template_id_fkey REFERENCES ec_categories (),
CONSTRAINT ec_category_template_map_template_id_fkey REFERENCES ec_templates (),
CONSTRAINT ec_category_template_map_category_id_fkey REFERENCES ec_templates (),
CONSTRAINT ec_category_template_map_pkey REFERENCES ec_templates ()
);
CREATE INDEX ec_category_template_map_idx ON ec_category_template_map (template_id);
CREATE TRIGGER RI_ConstraintTrigger_c_341759 AFTER INSERT FOR EACH ROW EXECUTE PROCEDURE RI_FKey_check_ins (disabled)
CREATE TRIGGER RI_ConstraintTrigger_c_341760 AFTER UPDATE FOR EACH ROW EXECUTE PROCEDURE RI_FKey_check_upd (disabled)
CREATE TRIGGER RI_ConstraintTrigger_c_341764 AFTER INSERT FOR EACH ROW EXECUTE PROCEDURE RI_FKey_check_ins (disabled)
CREATE TRIGGER RI_ConstraintTrigger_c_341765 AFTER UPDATE FOR EACH ROW EXECUTE PROCEDURE RI_FKey_check_upd (disabled)
-- Table size: 0 bytes
-- Table rows: 0
Tables: