-
Notifications
You must be signed in to change notification settings - Fork 16
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 #152 from ethpandaops/feat/enr-geo
feat(server/coordinator): add geoip data for node records
- Loading branch information
Showing
5 changed files
with
76 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ALTER TABLE node_record | ||
DROP COLUMN geo_city, | ||
DROP COLUMN geo_country, | ||
DROP COLUMN geo_country_code, | ||
DROP COLUMN geo_continent_code, | ||
DROP COLUMN geo_longitude, | ||
DROP COLUMN geo_latitude, | ||
DROP COLUMN geo_autonomous_system_number, | ||
DROP COLUMN geo_autonomous_system_organization; |
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,9 @@ | ||
ALTER TABLE node_record | ||
ADD COLUMN geo_city VARCHAR(128), | ||
ADD COLUMN geo_country VARCHAR(128), | ||
ADD COLUMN geo_country_code VARCHAR(128), | ||
ADD COLUMN geo_continent_code VARCHAR(128), | ||
ADD COLUMN geo_longitude FLOAT, | ||
ADD COLUMN geo_latitude FLOAT, | ||
ADD COLUMN geo_autonomous_system_number INT, | ||
ADD COLUMN geo_autonomous_system_organization VARCHAR(128); |
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