Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
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
Administrator
solo-1
Commits
71d51115
Unverified
Commit
71d51115
authored
Apr 19, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
#12764
parent
4b7e9b59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
src/main/java/org/b3log/solo/upgrade/V350_360.java
src/main/java/org/b3log/solo/upgrade/V350_360.java
+1
-0
src/main/resources/repository.json
src/main/resources/repository.json
+0
-11
No files found.
src/main/java/org/b3log/solo/upgrade/V350_360.java
View file @
71d51115
...
@@ -97,6 +97,7 @@ public final class V350_360 {
...
@@ -97,6 +97,7 @@ public final class V350_360 {
statement
.
executeUpdate
(
"ALTER TABLE `"
+
tablePrefix
+
"page` DROP COLUMN `pageContent`"
);
statement
.
executeUpdate
(
"ALTER TABLE `"
+
tablePrefix
+
"page` DROP COLUMN `pageContent`"
);
statement
.
executeUpdate
(
"ALTER TABLE `"
+
tablePrefix
+
"page` DROP COLUMN `pageCommentCount`"
);
statement
.
executeUpdate
(
"ALTER TABLE `"
+
tablePrefix
+
"page` DROP COLUMN `pageCommentCount`"
);
statement
.
executeUpdate
(
"ALTER TABLE `"
+
tablePrefix
+
"page` DROP COLUMN `pageCommentable`"
);
statement
.
executeUpdate
(
"ALTER TABLE `"
+
tablePrefix
+
"page` DROP COLUMN `pageCommentable`"
);
statement
.
executeUpdate
(
"ALTER TABLE `"
+
tablePrefix
+
"comment` DROP COLUMN `commentOnType`"
);
statement
.
close
();
statement
.
close
();
connection
.
commit
();
connection
.
commit
();
connection
.
close
();
connection
.
close
();
...
...
src/main/resources/repository.json
View file @
71d51115
...
@@ -144,12 +144,6 @@
...
@@ -144,12 +144,6 @@
"type"
:
"String"
,
"type"
:
"String"
,
"length"
:
19
"length"
:
19
},
},
{
"name"
:
"commentOnType"
,
"description"
:
"评论的是文章还是页面,文章:article 页面:page"
,
"type"
:
"String"
,
"length"
:
20
},
{
{
"name"
:
"commentSharpURL"
,
"name"
:
"commentSharpURL"
,
"description"
:
"评论访问路径,带 # 锚点"
,
"description"
:
"评论访问路径,带 # 锚点"
,
...
@@ -246,11 +240,6 @@
...
@@ -246,11 +240,6 @@
"type"
:
"String"
,
"type"
:
"String"
,
"length"
:
255
"length"
:
255
},
},
{
"name"
:
"pageCommentable"
,
"description"
:
"页面是否可以评论"
,
"type"
:
"boolean"
},
{
{
"name"
:
"pageOpenTarget"
,
"name"
:
"pageOpenTarget"
,
"description"
:
"页面打开方式"
,
"description"
:
"页面打开方式"
,
...
...
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