Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Commit

Permalink
インデックス2つ追加
Browse files Browse the repository at this point in the history
  • Loading branch information
utgwkk committed Sep 12, 2020
1 parent 52af201 commit cb15bb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql/db/0_Schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ CREATE TABLE isuumo.chair
popularity INTEGER NOT NULL,
stock INTEGER NOT NULL
);

CREATE INDEX chair_stock_price ON isuumo.chair (stock, price);
CREATE INDEX estate_rent ON isuumo.estate (rent);

0 comments on commit cb15bb7

Please sign in to comment.