mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Add idempotent Que job for e-invoice sending
This commit is contained in:
parent
07653fa710
commit
2663c550fa
3 changed files with 47 additions and 1 deletions
|
@ -886,6 +886,7 @@ CREATE TABLE public.invoices (
|
|||
in_directo boolean DEFAULT false,
|
||||
buyer_vat_no character varying,
|
||||
issue_date date NOT NULL,
|
||||
e_invoice_sent_at timestamp without time zone,
|
||||
CONSTRAINT invoices_due_date_is_not_before_issue_date CHECK ((due_date >= issue_date))
|
||||
);
|
||||
|
||||
|
@ -4339,6 +4340,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20191212133136'),
|
||||
('20191227110904'),
|
||||
('20200113091254'),
|
||||
('20200115102202');
|
||||
('20200115102202'),
|
||||
('20200204103125');
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue