create table f_production_users
(
    id int(7) auto_increment
        primary key,
    name varchar(250) not null,
    door_id int(7) not null,
    birthday varchar(10) default '0000-00-00' not null,
    pgroups text not null,
    shipment_pgroups text not null,
    tasks text not null,
    start varchar(10) default '0000-00-00' not null,
    end varchar(10) default '0000-00-00' not null,
    active int(1) default 1 not null,
    company int(1) not null,
    previous_company int(1) not null,
    new_start varchar(10) default '0000-00-00' not null,
    user_id int(7) not null,
    production_resource int(2) default 1 not null,
    exported int(1) not null,
    create_date timestamp default CURRENT_TIMESTAMP not null,
    update_date timestamp default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP,
    test int default 0 not null
)
    charset=utf8;

