Showing
1 changed file
with
8 additions
and
21 deletions
1 | -/* | |
2 | - Navicat Premium Data Transfer | |
1 | +--组态内容节点,增加一个字段 | |
2 | +alter table tk_configuration_content_node add configuration_node_id varchar(32); | |
3 | +COMMENT ON COLUMN "public"."tk_configuration_content_node"."configuration_node_id" IS '组态内容节点ID'; | |
4 | +--更新已存在的数据 | |
5 | +update tk_configuration_content_node set configuration_node_id = id; | |
6 | +--更新组态内容节点表的主键ID为uuid | |
7 | +CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; | |
8 | +update tk_configuration_content_node set id = uuid_generate_v4(); | |
3 | 9 | |
4 | - Source Server : 222.180.200.114 | |
5 | - Source Server Type : PostgreSQL | |
6 | - Source Server Version : 130006 | |
7 | - Source Host : 222.180.200.114:20638 | |
8 | - Source Catalog : z_tk_fatest_cloud_001 | |
9 | - Source Schema : public | |
10 | - | |
11 | - Target Server Type : PostgreSQL | |
12 | - Target Server Version : 130006 | |
13 | - File Encoding : 65001 | |
14 | - | |
15 | - Date: 22/10/2024 15:51:17 | |
16 | -*/ | |
17 | - | |
18 | - | |
19 | --- ---------------------------- | |
20 | --- Table structure for tk_3d_component | |
21 | --- ---------------------------- | |
22 | -DROP TABLE IF EXISTS "public"."tk_3d_component"; | |
23 | 10 | CREATE TABLE "public"."tk_3d_component" ( |
24 | 11 | "id" varchar(36) COLLATE "pg_catalog"."default" NOT NULL, |
25 | 12 | "content" text COLLATE "pg_catalog"."default" NOT NULL, | ... | ... |