Replace timestamp with datetime
This commit is contained in:
parent
3d73a857ff
commit
752d731865
@ -603,8 +603,8 @@ A json object for the deleted possible date with `message`.
|
|||||||
| meeting_id | uuid | foreign composite key (participant), required |
|
| meeting_id | uuid | foreign composite key (participant), required |
|
||||||
| possible_date_id | int | foreign key, required |
|
| possible_date_id | int | foreign key, required |
|
||||||
| preference | boolean | `0` (ideal) or `1` (yes), required |
|
| preference | boolean | `0` (ideal) or `1` (yes), required |
|
||||||
| start_time | timestamp | required |
|
| start_time | datetime | required |
|
||||||
| end_time | timestamp | required |
|
| end_time | datetime | required |
|
||||||
| timezone | string | required |
|
| timezone | string | required |
|
||||||
| created_at | datetime | generated by database |
|
| created_at | datetime | generated by database |
|
||||||
| updated_at | datetime | generated by database |
|
| updated_at | datetime | generated by database |
|
||||||
|
@ -21,7 +21,7 @@ Table meeting as M {
|
|||||||
id uuid [pk, unique]
|
id uuid [pk, unique]
|
||||||
title string
|
title string
|
||||||
description string
|
description string
|
||||||
start_time time
|
start_time datetime
|
||||||
duration int
|
duration int
|
||||||
status status
|
status status
|
||||||
password string
|
password string
|
||||||
@ -57,8 +57,8 @@ Table availability {
|
|||||||
meeting_id participant_id [ref: > P.meeting_id]
|
meeting_id participant_id [ref: > P.meeting_id]
|
||||||
possible_date_id int [ref: > D.id]
|
possible_date_id int [ref: > D.id]
|
||||||
preference availability_preference
|
preference availability_preference
|
||||||
start_time time
|
start_time datetime
|
||||||
end_time time
|
end_time datetime
|
||||||
created_at datetime [default: `now()`]
|
created_at datetime [default: `now()`]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user