feat(assessment): add the review band of attempt signals and the disclosed collector
This commit is contained in:
1 parent
68286af8b7
commit
b3c6dc870b
124 files changed
+13522
-633
No files matched your search
@@ -0,0 +1,15 @@
|
||||
-- +goose Up
|
||||
-- A record that a candidate was shown the notice about the collected
|
||||
-- assessment signals. It is not a consent: no operation reads it to allow or
|
||||
-- refuse signal storage. One row per account and notice version keeps the time
|
||||
-- of the first acknowledgement; a changed notice text uses a new version.
|
||||
CREATE TABLE assessment_signal_notice_acknowledgements (
|
||||
user_id uuid NOT NULL REFERENCES users (id) ON DELETE CASCADE,
|
||||
notice_version integer NOT NULL,
|
||||
acknowledged_at timestamptz NOT NULL,
|
||||
CONSTRAINT assessment_signal_notice_acknowledgements_pkey PRIMARY KEY (user_id, notice_version),
|
||||
CONSTRAINT assessment_signal_notice_acknowledgements_version CHECK (notice_version >= 1)
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE assessment_signal_notice_acknowledgements;
|
||||
Reference in new issue
Block a user