ShiftUpdate
Table
shift_updates
Attributes
Name | Type | Nullable | Description |
---|---|---|---|
id |
UNSIGNED BIGINT | No | primary key (auto-increment) |
shift1_id |
UNSIGNED BIGINT | Yes | foreign key |
shift2_id |
UNSIGNED BIGINT | Yes | foreign key |
user_id |
UNSIGNED BIGINT | Yes | foreign key |
created_at |
TIMESTAMP | Yes | |
updated_at |
TIMESTAMP | Yes | |
deleted_at |
TIMESTAMP | Yes |
Relationships
ShiftUpdate
belongs toShift
(ShiftOld1
)ShiftUpdate
belongs toShift
(ShiftOld2
)ShiftUpdate
belongs toUser
ShiftUpdate
has manyShift
(ShiftsNew
)