Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
PESCMS Ticket
Commits
f2582acf
Commit
f2582acf
authored
5 years ago
by
luoboss
Browse files
Options
Download
Email Patches
Plain Diff
修复两个表因为未设置自增属性而引起错误的问题。
parent
308ad0f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Public/Install/InstallDb/install.sql
+6
-6
Public/Install/InstallDb/install.sql
Upgrade/sql/1.3.2.sql
+3
-0
Upgrade/sql/1.3.2.sql
with
9 additions
and
6 deletions
+9
-6
Public/Install/InstallDb/install.sql
+
6
-
6
View file @
f2582acf
...
...
@@ -81,12 +81,12 @@ DROP TABLE IF EXISTS `pes_cssend_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`pes_cssend_template`
(
`cssend_template_id`
int
(
11
)
NOT
NULL
,
`cssend_template_id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`cssend_template_type`
int
(
11
)
NOT
NULL
DEFAULT
'0'
,
`cssend_template_title`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
`cssend_template_content`
text
NOT
NULL
,
PRIMARY
KEY
(
`cssend_template_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
5
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
...
...
@@ -265,7 +265,7 @@ DROP TABLE IF EXISTS `pes_member_activation`;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`pes_member_activation`
(
`activation_id`
int
(
11
)
NOT
NULL
,
`activation_id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`member_id`
int
(
11
)
NOT
NULL
,
`activation_code`
varchar
(
255
)
NOT
NULL
,
`activation_time`
int
(
11
)
NOT
NULL
,
...
...
@@ -290,10 +290,10 @@ DROP TABLE IF EXISTS `pes_member_organize`;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`pes_member_organize`
(
`member_organize_id`
int
(
11
)
NOT
NULL
,
`member_organize_id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`member_organize_name`
varchar
(
255
)
NOT
NULL
DEFAULT
''
,
PRIMARY
KEY
(
`member_organize_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
DEFAULT
CHARSET
=
utf8
;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
...
...
@@ -814,4 +814,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */
;
-- Dump completed on 2020-04-20 1
0
:1
0:42
-- Dump completed on 2020-04-20 1
4
:1
6:24
This diff is collapsed.
Click to expand it.
Upgrade/sql/1.3.2.sql
+
3
-
0
View file @
f2582acf
...
...
@@ -22,8 +22,11 @@ CREATE TABLE `pes_member_activation` (
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'账号激活表'
;
ALTER
TABLE
`pes_member_activation`
ADD
PRIMARY
KEY
(
`activation_id`
);
ALTER
TABLE
`pes_member_activation`
MODIFY
`activation_id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
;
INSERT
INTO
`pes_field`
(
`field_id`
,
`field_model_id`
,
`field_name`
,
`field_display_name`
,
`field_type`
,
`field_option`
,
`field_explain`
,
`field_default`
,
`field_required`
,
`field_listsort`
,
`field_list`
,
`field_form`
,
`field_status`
,
`field_is_null`
)
VALUES
(
NULL
,
15
,
'title_description'
,
'工单标题描述'
,
'text'
,
''
,
'要修改工单详细页的工单标题名称,请在此处填写您要显示的描述。格式为:描述名称|输入框显示的提示信息 。如:工单标题|简单扼要描述本次工单遇到的问题'
,
''
,
0
,
6
,
0
,
1
,
1
,
0
);
ALTER
TABLE
`pes_ticket_model`
ADD
`ticket_model_title_description`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
;
ALTER
TABLE
`pes_member_organize`
CHANGE
`member_organize_id`
`member_organize_id`
INT
(
11
)
NOT
NULL
AUTO_INCREMENT
;
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help