added storage for maxmind data
This commit is contained in:
parent
98ba28da2a
commit
c9c7db941a
3
manifest
3
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
|
||||
image_urls.sql
|
||||
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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue