-
Notifications
You must be signed in to change notification settings - Fork 104
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 #1329 from Jay07GIT/fix_abondoned_zones_query
updated filter deleted zones using scala to sql query
- Loading branch information
Showing
5 changed files
with
101 additions
and
62 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
modules/mysql/src/main/resources/db/migration/V3.31__AddZoneChangeFields.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,12 @@ | ||
CREATE SCHEMA IF NOT EXISTS ${dbName}; | ||
|
||
USE ${dbName}; | ||
|
||
ALTER TABLE zone_change | ||
ADD COLUMN zone_name VARCHAR(256) NOT NULL; | ||
CREATE INDEX zone_name_index ON zone_change(zone_name); | ||
|
||
|
||
ALTER TABLE zone_change | ||
ADD COLUMN zone_status CHAR(36) NOT NULL; | ||
CREATE INDEX zone_status_index ON zone_change(zone_status); |
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