salix/db/changes/10451-april/00-invoiceOut_queue.sql

14 lines
436 B
MySQL
Raw Normal View History

create table `vn`.`invoiceOut_queue`
(
invoiceFk int(10) unsigned not null,
dated datetime default now() null,
printed tinyint(1) default 0 null,
constraint invoiceOut_queue_pk
primary key (invoiceFk),
constraint invoiceOut_queue_invoiceOut_id_fk
foreign key (invoiceFk) references invoiceOut (id)
on update cascade on delete cascade
)
comment 'Queue for PDF invoicing';