diff --git a/manifest b/manifest index b86075de7..a1ea78d8d 100644 --- a/manifest +++ b/manifest @@ -25,4 +25,5 @@ update_user_band_fields.sql add_recording_creator_id.sql make_location_nullable.sql band_invitations.sql -image_urls.sql \ No newline at end of file +image_urls.sql +max_mind.sql \ No newline at end of file diff --git a/up/max_mind.sql b/up/max_mind.sql new file mode 100644 index 000000000..4bbcc2121 --- /dev/null +++ b/up/max_mind.sql @@ -0,0 +1,12 @@ +CREATE TABLE max_mind ( + ip_bottom INTEGER, + ip_top INTEGER, + country VARCHAR(64), + region VARCHAR(64), + city VARCHAR(255) +); + +CREATE INDEX max_mind_ip_bottom_idx ON max_mind(ip_bottom); +CREATE INDEX max_mind_ip_top_idx ON max_mind(ip_top); + +