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 |
|
||||
| possible_date_id | int | foreign key, required |
|
||||
| preference | boolean | `0` (ideal) or `1` (yes), required |
|
||||
| start_time | timestamp | required |
|
||||
| end_time | timestamp | required |
|
||||
| start_time | datetime | required |
|
||||
| end_time | datetime | required |
|
||||
| timezone | string | required |
|
||||
| created_at | datetime | generated by database |
|
||||
| updated_at | datetime | generated by database |
|
||||
|
@ -21,7 +21,7 @@ Table meeting as M {
|
||||
id uuid [pk, unique]
|
||||
title string
|
||||
description string
|
||||
start_time time
|
||||
start_time datetime
|
||||
duration int
|
||||
status status
|
||||
password string
|
||||
@ -57,8 +57,8 @@ Table availability {
|
||||
meeting_id participant_id [ref: > P.meeting_id]
|
||||
possible_date_id int [ref: > D.id]
|
||||
preference availability_preference
|
||||
start_time time
|
||||
end_time time
|
||||
start_time datetime
|
||||
end_time datetime
|
||||
created_at datetime [default: `now()`]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user