Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
yukukotani committed Sep 12, 2020
1 parent 9ccfe91 commit 0fc5e44
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions isuumo/webapp/mysql/db/0_Schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ CREATE TABLE isuumo.estate
popularity INTEGER NOT NULL,
INDEX idx_rent (rent),
INDEX idx_door_height (door_height),
INDEX idx_door_width (door_width)
INDEX idx_door_width (door_width),
INDEX index_lat (latitude, longitude)
);

CREATE TABLE isuumo.estate_features
(
estate_id INTEGER NOT NULL,
feature VARCHAR(64) NOT NULL,
INDEX idx_estate_id (estate_id)
INDEX idx_estate_id (estate_id),
INDEX idx_feature (feature)
);

CREATE TABLE isuumo.chair
Expand Down

0 comments on commit 0fc5e44

Please sign in to comment.