-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/2139 store invitations reset #485
base: main
Are you sure you want to change the base?
Conversation
@@ -123,6 +123,7 @@ module SurveyUrl = struct | |||
let schema () = schema ~validation field () | |||
end | |||
|
|||
(* TODO: Remove this module *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo
@@ -243,10 +243,26 @@ module DirectEnrollment : sig | |||
val assignable : t -> bool | |||
end | |||
|
|||
module InvitationReset : sig | |||
module Write : sig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is there a "write" model, it's the same in both ways, isn't it?
~label:"add unique combination to pool_queue_jobs_mapping" | ||
[%string | ||
{sql| | ||
CREATE TABLE pool_queue_job_%{table_suffix} ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, add "_map" to name, otherwise might be confusing with "_history"
CREATE TABLE pool_queue_job_%{table_suffix} ( | |
CREATE TABLE pool_queue_job_map_%{table_suffix} ( |
let instance = Job.to_instance ~id ?message_template ?run_at label input job in | ||
let clone_of = | ||
match job_ctx with | ||
| Create _ -> None | ||
| Clone id -> Some id | ||
in | ||
let instance = | ||
Job.to_instance ~id ?message_template ?run_at ?clone_of label input job | ||
in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't there a simpler handling to achive this?
No description provided.