Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
db_gpt
Project
Project
Details
Activity
Releases
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
linyangyang
db_gpt
Commits
563c60e8
Commit
563c60e8
authored
Sep 14, 2024
by
于飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新加聊天历史资源表
parent
619ee96b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
vadmin_chat_history.sql
vadmin_chat_history.sql
+11
-0
No files found.
vadmin_chat_history.sql
0 → 100644
View file @
563c60e8
DROP
TABLE
IF
EXISTS
`vadmin_chat_history`
;
CREATE
TABLE
`vadmin_chat_history`
(
`id`
int
NOT
NULL
AUTO_INCREMENT
COMMENT
'autoincrement id'
,
`conv_uid`
varchar
(
255
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'Conversation record unique id'
,
`message_medias`
text
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_unicode_ci
NULL
COMMENT
'Message medias, json format'
,
`is_delete`
tinyint
UNSIGNED
NOT
NULL
DEFAULT
0
COMMENT
'是否软删除'
,
`create_datetime`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`update_datetime`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`delete_datetime`
datetime
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'删除时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1149
CHARACTER
SET
=
utf8mb3
COLLATE
=
utf8mb3_general_ci
COMMENT
=
'聊天历史资源表'
ROW_FORMAT
=
Dynamic
;
\ No newline at end of file
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