create table f_product_groups
(
    pgroup_id tinyint(2) auto_increment
        primary key,
    pgroup_name text null,
    pgroup_short_name varchar(50) not null,
    pgroup_alias text null,
    pgroup_active tinyint(1) not null,
    pgroup_short text null,
    pgroup_nr int(2) not null,
    sorting_nr int(10) not null,
    pgroup_shipping_nr int(2) not null,
    pgroup_discount int(3) not null,
    pgroup_tasks varchar(250) not null,
    pgroup_components text not null,
    confirmable int default 0 not null,
    fischer int(1) not null,
    blendex int(1) not null,
    kurage int(1) not null,
    show_in_motors_electronics int default 0 null,
    show_in_components int(1) not null,
    show_curtain_tab int(1) default 0 not null comment 'This changes if "curtains: tab is shown in part list for selected product group',
    inc_prices_group int(50) default 0 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
)
    charset=utf8;

