Add correct participant fk to availibility table
This commit is contained in:
parent
6ae2f6db17
commit
c4ebcbb9bd
@ -604,17 +604,18 @@ A json object for the deleted possible date with `id`, `meeting_id` and `possibl
|
|||||||
|
|
||||||
### **Availibility** | `availibility`
|
### **Availibility** | `availibility`
|
||||||
|
|
||||||
| field | data type | metadata |
|
| field | data type | metadata |
|
||||||
| :--------------- | :-------- | :--------------------------------- |
|
| :--------------- | :-------- | :-------------------------------------------- |
|
||||||
| id | int | primary key, auto-increment |
|
| id | int | primary key, auto-increment |
|
||||||
| participant_id | int | foreign key, required |
|
| account_id | int | foreign composite key (participant), required |
|
||||||
| possible_date_id | int | foreign key, required |
|
| meeting_id | uuid | foreign composite key (participant), required |
|
||||||
| preference | boolean | `0` (ideal) or `1` (yes), required |
|
| possible_date_id | int | foreign key, required |
|
||||||
| start_time | timestamp | required |
|
| preference | boolean | `0` (ideal) or `1` (yes), required |
|
||||||
| end_time | timestamp | required |
|
| start_time | timestamp | required |
|
||||||
| timezone | varchar | required |
|
| end_time | timestamp | required |
|
||||||
| created_at | datetime | generated by database |
|
| timezone | varchar | required |
|
||||||
| updated_at | datetime | generated by database |
|
| created_at | datetime | generated by database |
|
||||||
|
| updated_at | datetime | generated by database |
|
||||||
|
|
||||||
#### Add an availibility for a possible date
|
#### Add an availibility for a possible date
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user