Created
January 29, 2020 16:31
-
-
Save tomredsky/0f99d14d409df5cf89d273572ca3dfdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create type queue_status as enum('new', 'inprogress', 'done'); | |
create table delivery_queue ( | |
delivery_id int not null primary key references dl (id) on delete cascade, | |
date_entered timestamp not null default current_timestamp, | |
status queue_status not null default 'new' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If there is, then why did I do all that work to rewrite the S3 code to not rely on a delivery note?