Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
holmes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
holmes
Commits
a2f3e9ec
Commit
a2f3e9ec
authored
Oct 18, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
bf27c9e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
DatabaseSyncServiceImpl.java
...g/holmes/service/effect/impl/DatabaseSyncServiceImpl.java
+1
-1
No files found.
src/main/java/cn/qg/holmes/service/effect/impl/DatabaseSyncServiceImpl.java
View file @
a2f3e9ec
...
@@ -767,7 +767,7 @@ public class DatabaseSyncServiceImpl implements DatabaseSyncService {
...
@@ -767,7 +767,7 @@ public class DatabaseSyncServiceImpl implements DatabaseSyncService {
}
}
}
else
{
}
else
{
// 首先删除表
// 首先删除表
String
dropTableSql
=
"DROP TABLE IF EXISTS"
+
tableName
;
String
dropTableSql
=
"DROP TABLE IF EXISTS
"
+
tableName
;
statement
.
execute
(
dropTableSql
);
statement
.
execute
(
dropTableSql
);
// 然后同步表结构
// 然后同步表结构
...
...
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