create table f_entry_time
(
    id                int auto_increment
        primary key,
    timetrack_db_id   int                                   not null,
    production_id     int                                   not null,
    device_name       int                                   not null,
    start             datetime                              not null,
    end               datetime                              null,
    confirmed_by_user int(1)    default 0                   not null,
    is_synced         int       default 0                   not null,
    create_date       timestamp default current_timestamp() not null,
    update_date       timestamp default current_timestamp() not null on update current_timestamp()
)
    charset = utf8mb4;

