2021-08-05 11:42:19 +00:00
|
|
|
create table `vn`.`itemMatchProperties`
|
2021-07-14 09:14:53 +00:00
|
|
|
(
|
|
|
|
itemFk int not null,
|
|
|
|
name varchar(80) not null,
|
2021-08-05 11:42:19 +00:00
|
|
|
producer varchar(80) not null,
|
2021-07-14 09:14:53 +00:00
|
|
|
size int not null,
|
2021-08-05 11:42:19 +00:00
|
|
|
constraint itemMatchProperties_pk
|
|
|
|
primary key (itemFk, name, producer, size),
|
2021-07-14 09:14:53 +00:00
|
|
|
constraint itemFk___fk
|
|
|
|
foreign key (itemFk) references item (id)
|
|
|
|
on update cascade on delete cascade
|
|
|
|
)
|
2021-08-05 11:42:19 +00:00
|
|
|
comment 'Propiedades para encontrar articulos equivalentes en verdnatura';
|
2021-07-14 09:14:53 +00:00
|
|
|
|