Skip to content

Commit 0fc5e44

Browse files
committed
update schema
1 parent 9ccfe91 commit 0fc5e44

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

isuumo/webapp/mysql/db/0_Schema.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ CREATE TABLE isuumo.estate
2020
popularity INTEGER NOT NULL,
2121
INDEX idx_rent (rent),
2222
INDEX idx_door_height (door_height),
23-
INDEX idx_door_width (door_width)
23+
INDEX idx_door_width (door_width),
24+
INDEX index_lat (latitude, longitude)
2425
);
2526

2627
CREATE TABLE isuumo.estate_features
2728
(
2829
estate_id INTEGER NOT NULL,
2930
feature VARCHAR(64) NOT NULL,
30-
INDEX idx_estate_id (estate_id)
31+
INDEX idx_estate_id (estate_id),
32+
INDEX idx_feature (feature)
3133
);
3234

3335
CREATE TABLE isuumo.chair

0 commit comments

Comments
 (0)