/*
 Navicat Premium Dump SQL

 Source Server         : Goldie Dev
 Source Server Type    : PostgreSQL
 Source Server Version : 160011 (160011)
 Source Host           : 147.93.9.197:5432
 Source Catalog        : dev_gx_goldie
 Source Schema         : public

 Target Server Type    : PostgreSQL
 Target Server Version : 160011 (160011)
 File Encoding         : 65001

 Date: 28/12/2025 02:23:03
*/


-- ----------------------------
-- Table structure for regioes_administrativas_agrupamentos_links
-- ----------------------------
DROP TABLE IF EXISTS "public"."regioes_administrativas_agrupamentos_links";
CREATE TABLE "public"."regioes_administrativas_agrupamentos_links" (
  "id" int4 NOT NULL DEFAULT nextval('regioes_administrativas_agrupamentos_links_id_seq'::regclass),
  "data_atualizacao" timestamp(6),
  "usuario_cadastro" varchar(255) COLLATE "pg_catalog"."default" DEFAULT 'default'::character varying,
  "usuario_atualizacao" varchar(255) COLLATE "pg_catalog"."default" DEFAULT 'default'::character varying,
  "block_usuario_id" int4,
  "block_filial_id" int4,
  "block_empresa_id" int4,
  "block_setor_id" int4,
  "block" int4,
  "data_cadastro" timestamp(6),
  "descricao" varchar(255) COLLATE "pg_catalog"."default",
  "cor_fundo" varchar(255) COLLATE "pg_catalog"."default",
  "cor_texto" varchar(255) COLLATE "pg_catalog"."default",
  "agrupamento_id" int4,
  "regiao_id" int4,
  "horario_corte" time(6),
  "grupo_regiao_id" int4,
    "atualizada" int4,
)
;

-- ----------------------------
-- Primary Key structure for table regioes_administrativas_agrupamentos_links
-- ----------------------------
ALTER TABLE "public"."regioes_administrativas_agrupamentos_links" ADD CONSTRAINT "regioes_administrativas_agrupamentos_links_pkey" PRIMARY KEY ("id");
