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
ShiftUpdatebelongs toShift(ShiftOld1)ShiftUpdatebelongs toShift(ShiftOld2)ShiftUpdatebelongs toUserShiftUpdatehas manyShift(ShiftsNew)