CREATE TABLE ctl_wsfacturaselectronicasnominahost
(
  num_wshost cidr NOT NULL,
  num_paccfdi smallint NOT NULL,
  CONSTRAINT pk_ctl_wsfacturaselectronicasnominahost PRIMARY KEY (num_wshost ),
  CONSTRAINT fk_ctl_wsfacturaselectronicasnominahost_num_paccfdi FOREIGN KEY (num_paccfdi)
      REFERENCES cat_paccfdi (idu_paccfdi) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE NO ACTION
);
ALTER TABLE ctl_wsfacturaselectronicasnominahost
  OWNER TO sysfacturaelectronicaadmin;

  