Permalink
Browse files

Merge pull request #23 from shibayu36/index

indexついか
  • Loading branch information...
hitode909 committed Sep 16, 2018
2 parents 5eea2af + 6425a42 commit 2a3ac0dc87bba580bdb8cd2f2e8fea7b6cefb123
Showing with 2 additions and 1 deletion.
  1. +2 −1 db/schema.sql
@@ -29,7 +29,8 @@ CREATE TABLE IF NOT EXISTS reservations (
user_id INTEGER UNSIGNED NOT NULL,
reserved_at DATETIME(6) NOT NULL,
canceled_at DATETIME(6) DEFAULT NULL,
KEY event_id_and_sheet_id_idx (event_id, sheet_id)
KEY event_id_and_sheet_id_idx (event_id, sheet_id),
KEY event_id_and_canceled_at (event_id, canceled_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE IF NOT EXISTS administrators (

0 comments on commit 2a3ac0d

Please sign in to comment.