-
Notifications
You must be signed in to change notification settings - Fork 74
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 #2 from patsonluk/master
update
- Loading branch information
Showing
82 changed files
with
2,601 additions
and
1,438 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DELETE FROM link WHERE transport_type <> 0; | ||
|
||
ALTER TABLE `airline_v2`.`link` | ||
DROP FOREIGN KEY `link_ibfk_3`; |
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,8 @@ | ||
ALTER TABLE `airline_modifier` ADD INDEX `modifier_airline` (`airline` ASC) VISIBLE; | ||
|
||
ALTER TABLE `airline_modifier` DROP INDEX `PRIMARY`; | ||
ALTER TABLE `airline_modifier` ADD `id` INT PRIMARY KEY NOT NULL AUTO_INCREMENT FIRST; | ||
|
||
|
||
REPLACE INTO `airline_modifier_property`(id, name, value) SELECT o.id, "DURATION", 52 FROM `airline_modifier` o WHERE o.modifier_name = "DELEGATE_BOOST"; | ||
REPLACE INTO `airline_modifier_property`(id, name, value) SELECT o.id, "STRENGTH", 3 FROM `airline_modifier` o WHERE o.modifier_name = "DELEGATE_BOOST"; |
2 changes: 2 additions & 0 deletions
2
airline-data/db_scripts/patch_link_consumption_transport_type.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,2 @@ | ||
ALTER TABLE `airline_v2`.`link_consumption` | ||
ADD COLUMN `transport_type` TINYINT NULL AFTER `duration`; |
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,2 @@ | ||
ALTER TABLE `log` ADD `id` INT PRIMARY KEY NOT NULL AUTO_INCREMENT FIRST; | ||
|
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
Oops, something went wrong.