-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes pidgtm_compile_times bug (#60)
* Fixes pidgtm_compile_times bug Signed-off-by: danbugs <[email protected]> * fix && fmt Signed-off-by: danbugs <[email protected]> * ctrlc bug Signed-off-by: danbugs <[email protected]> --------- Signed-off-by: danbugs <[email protected]>
- Loading branch information
Showing
6 changed files
with
37 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
-- Commands to drop the new table for error logs | ||
DROP TABLE IF EXISTS error_logs; | ||
|
||
-- Commands to revert the repurposed table to its original form | ||
ALTER TABLE pidgtm_compile_times DROP COLUMN calculation_timestamp; | ||
ALTER TABLE pidgtm_compile_times ALTER COLUMN time_in_seconds SET DATA TYPE INTEGER; | ||
ALTER TABLE pidgtm_compile_times RENAME COLUMN time_in_seconds TO player_id; | ||
ALTER TABLE pidgtm_compile_times RENAME TO last_checked_player_id; | ||
DROP TABLE IF EXISTS pidgtm_compile_times; | ||
|
||
CREATE TABLE last_checked_player_id ( | ||
player_id INTEGER PRIMARY KEY | ||
); |
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
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