added storage for maxmind data

This commit is contained in:
Mike Slemmer 2012-11-29 01:27:55 -08:00
parent 98ba28da2a
commit c9c7db941a
2 changed files with 14 additions and 1 deletions

View File

@ -25,4 +25,5 @@ update_user_band_fields.sql
add_recording_creator_id.sql
make_location_nullable.sql
band_invitations.sql
image_urls.sql
image_urls.sql
max_mind.sql

12
up/max_mind.sql Normal file
View File

@ -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);