14 lines
436 B
SQL
14 lines
436 B
SQL
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';
|
|
|