Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LPS-132441 Create upgrade to drop MBStatsUser table
- Loading branch information
1 parent
5d7e25b
commit a443a93
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Bundle-Name: Liferay Message Boards Service | ||
Bundle-SymbolicName: com.liferay.message.boards.service | ||
Bundle-Version: 5.0.5 | ||
Liferay-Require-SchemaVersion: 5.2.0 | ||
Liferay-Require-SchemaVersion: 6.0.0 | ||
Liferay-Service: true | ||
-dsannotations-options: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...in/java/com/liferay/message/boards/internal/upgrade/v6_0_0/MBStatsUserUpgradeProcess.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. | ||
* | ||
* This library is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Lesser General Public License as published by the Free | ||
* Software Foundation; either version 2.1 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This library is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more | ||
* details. | ||
*/ | ||
|
||
package com.liferay.message.boards.internal.upgrade.v6_0_0; | ||
|
||
import com.liferay.portal.kernel.upgrade.UpgradeProcess; | ||
|
||
/** | ||
* @author Cheryl Tang | ||
*/ | ||
public class MBStatsUserUpgradeProcess extends UpgradeProcess { | ||
|
||
@Override | ||
protected void doUpgrade() throws Exception { | ||
runSQL("drop table MBStatsUser"); | ||
} | ||
|
||
} |