-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
Add new column use_single_step_invite_and_approve_partner_process #4071
Conversation
# == Schema Information | ||
# | ||
# Table name: events | ||
# | ||
# id :bigint not null, primary key | ||
# data :jsonb | ||
# event_time :datetime not null | ||
# eventable_type :string | ||
# type :string not null | ||
# created_at :datetime not null | ||
# updated_at :datetime not null | ||
# eventable_id :bigint | ||
# organization_id :bigint | ||
# user_id :bigint | ||
# |
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.
The app added this by itself. Doesn't detract and adds some visibility. Figured I keep it.
Is this PR ready for review? It doesn't seem to be complete. If not, please mark it as "draft". |
@dorner Nope. sorry intention was to make it draft. Thanks! |
b7acc4b
to
6766cd1
Compare
class AddUseSingleStepInviteAndApprovePartnerProcessToOrganization < ActiveRecord::Migration[7.0] | ||
def change | ||
add_column :organizations, :use_single_step_invite_and_approve_partner_process, :boolean | ||
change_column_default :organizations, :use_single_step_invite_and_approve_partner_process, false |
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.
Will be adding a rake task to update the current records to have default false
and also a not null constraint.
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.
You should be able to do that within the migration.
6766cd1
to
a0ee7ab
Compare
Folding this into #4075 |
#3432
Part 1 of 4 PRs for this issue.
Description
In order to allow banks to invite and approve partner as a single step when additional info isn't needed, a column,
use_single_step_invite_and_approve_partner_process
is added in this PR.Type of change
How Has This Been Tested?
Screenshots