 	type smallint not null
 );
 
-create index attach_group_id_index
-	on attach (group_id);
-
 create table product
 (
 	id serial not null
 		constraint product_pkey
 		primary key,
-	category integer default 1 not null,
+	category integer default 1,
 	name varchar(250) not null,
 	description varchar(4000) not null,
 	cost numeric(8,2) not null,

		constraint order_customer_id_fk
		references customer,
	date timestamp default now(),
	delievery_type integer not null,
	status integer default 0
);


create table item
(

	count integer default 1
);

