salix/db/changes/10340-summer/00-buy_importReference.sql

15 lines
410 B
MySQL
Raw Normal View History

2021-08-05 11:42:19 +00:00
create table `vn`.`itemMatchProperties`
(
itemFk int not null,
name varchar(80) not null,
2021-08-05 11:42:19 +00:00
producer varchar(80) not null,
size int not null,
2021-08-05 11:42:19 +00:00
constraint itemMatchProperties_pk
primary key (itemFk, name, producer, size),
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';