/*
 Navicat Premium Data Transfer

 Source Server         : 10.8.30.156
 Source Server Type    : PostgreSQL
 Source Server Version : 100019
 Source Host           : 10.8.30.156:5432
 Source Catalog        : inspection
 Source Schema         : public

 Target Server Type    : PostgreSQL
 Target Server Version : 100019
 File Encoding         : 65001

 Date: 03/03/2023 09:20:24
*/


-- ----------------------------
-- Table structure for report_info
-- ----------------------------
DROP TABLE IF EXISTS "public"."report_info";
CREATE TABLE "public"."report_info" (
  "id" serial NOT NULL,
  "project_id" int4 NOT NULL,
  "excel_path" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "inspect_tm" timestamp(0) NOT NULL,
  "report_tm" timestamp(0) NOT NULL
)
;
COMMENT ON COLUMN "public"."report_info"."project_id" IS '结构物id';
COMMENT ON COLUMN "public"."report_info"."excel_path" IS '文件路径';
COMMENT ON COLUMN "public"."report_info"."inspect_tm" IS '巡检时间';
COMMENT ON COLUMN "public"."report_info"."report_tm" IS '文件生成时间';

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