@@ -1 +1,15 @@
|
||||
## theatre_watching_users: 上映会視聴中のユーザ
|
||||
## theatre_watching_users: 上映会視聴中のユーザ
|
||||
| 物理名 | 論理名 | 型 | サイズ | NULL 許容 | デフォルト | 備考 |
|
||||
| :---: | :--: | :-: | :---: | :------: | :--: | :-- |
|
||||
| theatre_id | 上映会場 Id. | BIGINT | | | | |
|
||||
| user_id | ユーザ Id. | BIGINT | | | | |
|
||||
|
||||
### 制約
|
||||
- 主キー:
|
||||
- (theatre_id, user_id)
|
||||
- 外部キー:
|
||||
- theatre_id -> theatres.id
|
||||
- user_id -> users.id
|
||||
|
||||
### インデクス
|
||||
- user_id
|
||||
Reference in New Issue
Block a user