15 lines
376 B
SQL
15 lines
376 B
SQL
create table `vn`.`buyImportReference`
|
|
(
|
|
itemFk int not null,
|
|
name varchar(80) not null,
|
|
company varchar(80) not null,
|
|
size int not null,
|
|
constraint buyImportReference_pk
|
|
primary key (itemFk, name, company, size),
|
|
constraint itemFk___fk
|
|
foreign key (itemFk) references item (id)
|
|
on update cascade on delete cascade
|
|
)
|
|
comment 'Referencias de compras importadas';
|
|
|