feat: add volunteer shift signup app
Initial source, tests, migrations, and local Docker setup for the Hope Food Pantry volunteer scheduler.
This commit is contained in:
commit
f1a46e2ba7
129 files changed
+25290
No files matched your search
@@ -0,0 +1,10 @@
|
||||
-- One successful daily job per scope and local date. A repeated clock hour does not run it again.
|
||||
CREATE TABLE job_runs (
|
||||
job TEXT NOT NULL,
|
||||
scope TEXT NOT NULL,
|
||||
local_date TEXT NOT NULL CHECK (local_date GLOB '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]'),
|
||||
ran_at TEXT NOT NULL CHECK (
|
||||
ran_at GLOB '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9]Z'
|
||||
),
|
||||
PRIMARY KEY (job, scope, local_date)
|
||||
);
|
||||
Reference in new issue
Block a user