-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1715 from tianlu-root/master
fix: hide the share link created by schedule task
- Loading branch information
Showing
6 changed files
with
46 additions
and
8 deletions.
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
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
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
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
13 changes: 13 additions & 0 deletions
13
server/src/main/resources/db/migration/R2022.02.19__1.0.0.beta.2.sql
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,13 @@ | ||
SET NAMES utf8; | ||
SET FOREIGN_KEY_CHECKS = 0; | ||
|
||
-- ---------------------------- | ||
-- Table structure for source_schemas | ||
-- ---------------------------- | ||
DROP TABLE IF EXISTS `source_schemas`; | ||
|
||
ALTER TABLE `folder` | ||
DROP COLUMN `sub_type`, | ||
DROP COLUMN `avatar`; | ||
|
||
SET FOREIGN_KEY_CHECKS = 1; |
22 changes: 22 additions & 0 deletions
22
server/src/main/resources/db/migration/R2022.03.14__1.0.0.beta.3.sql
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,22 @@ | ||
SET FOREIGN_KEY_CHECKS = 0; | ||
|
||
-- ---------------------------- | ||
-- Table structure for share | ||
-- ---------------------------- | ||
DROP TABLE IF EXISTS `share`; | ||
|
||
ALTER TABLE `source` | ||
DROP COLUMN `parent_id` , | ||
DROP COLUMN `is_folder` , | ||
DROP COLUMN `index`; | ||
|
||
DROP PROCEDURE IF EXISTS drop_source_prj_index; | ||
|
||
|
||
ALTER TABLE `variable` | ||
DROP COLUMN `source_id`, | ||
DROP COLUMN `format`; | ||
ALTER TABLE `variable` | ||
DROP INDEX `source_id`; | ||
|
||
SET FOREIGN_KEY_CHECKS = 1; |