CREATE TABLE cat_empresasnomina
(
  idu_empresa smallint NOT NULL,
  clv_rfc character varying(13) NOT NULL,
  nom_empresa character varying(250) NOT NULL,
  nom_calle character varying(150) NOT NULL,
  num_exterior character varying(10),
  num_interior character varying(10),
  nom_colonia character varying(150),
  nom_localidad character varying(150),
  des_referencia character varying(250),
  nom_municipio character varying(150) NOT NULL,
  nom_estado character varying(150) NOT NULL,
  nom_pais character varying(150) NOT NULL,
  num_cp character(5) NOT NULL,
  cve_nip character varying(10) NOT NULL,
  CONSTRAINT pk_cat_empresasnomina_idu_empresa PRIMARY KEY (idu_empresa ),
  CONSTRAINT uq_cat_empresasnomina_clv_rfc UNIQUE (clv_rfc )
);
ALTER TABLE cat_empresasnomina
  OWNER TO sysfacturaelectronicaadmin;

  