Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangweidong
patzn-cloud-service-hmhj
Commits
3b8d1d9e
Commit
3b8d1d9e
authored
Aug 07, 2021
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加变压器表信息;
parent
29d30be9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
1 deletions
+36
-1
20200807新增表.sql
src/test/java/resources/db_sql/hmhj/v150/20200807新增表.sql
+36
-1
No files found.
src/test/java/resources/db_sql/hmhj/v150/20200807新增表.sql
View file @
3b8d1d9e
/** c
reated by meazty on 2021/8/7 17:59 **/
/** c
reated by meazty on 2021/8/7 17:59 **/
...
...
@@ -74,3 +74,38 @@ ALTER TABLE "public"."business_data" ADD CONSTRAINT "business_data_pkey" PRIMARY
-- Primary Key structure for table business_staff
-- ----------------------------
ALTER
TABLE
"public"
.
"business_staff"
ADD
CONSTRAINT
"business_staff_pkey"
PRIMARY
KEY
(
"id"
);
-- ----------------------------
-- Table structure for transformer
-- ----------------------------
DROP
TABLE
IF
EXISTS
"public"
.
"transformer"
;
CREATE
TABLE
"public"
.
"transformer"
(
"id"
int8
NOT
NULL
,
"name"
varchar
(
120
)
COLLATE
"pg_catalog"
.
"default"
,
"branch"
varchar
(
32
)
COLLATE
"pg_catalog"
.
"default"
,
"remark"
varchar
(
255
)
COLLATE
"pg_catalog"
.
"default"
,
"creator"
varchar
(
64
)
COLLATE
"pg_catalog"
.
"default"
,
"company_id"
int8
,
"uid"
int8
,
"ctime"
timestamp
(
0
),
"ltime"
timestamp
(
0
),
"lid"
int8
,
"deleted"
int2
DEFAULT
0
)
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"name"
IS
'名称'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"branch"
IS
'分厂'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"remark"
IS
'备注'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"creator"
IS
'创建人'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"company_id"
IS
'企业ID'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"uid"
IS
'创建人ID'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"ctime"
IS
'创建时间'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"ltime"
IS
'最后修改时间'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"lid"
IS
'最后修改人ID'
;
COMMENT
ON
COLUMN
"public"
.
"transformer"
.
"deleted"
IS
'是否删除0否1是'
;
COMMENT
ON
TABLE
"public"
.
"transformer"
IS
'变压器油基础数据'
;
-- ----------------------------
-- Primary Key structure for table transformer
-- ----------------------------
ALTER
TABLE
"public"
.
"transformer"
ADD
CONSTRAINT
"transformer_pkey"
PRIMARY
KEY
(
"id"
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment