Skip to content
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

[171] Migration to add is_confidential column to Reference table #10081

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ shared:
- updated_at
- refused
- feedback
- confidential
rejection_feedbacks:
- id
- helpful
Expand Down
5 changes: 5 additions & 0 deletions db/migrate/20241121144711_add_confidential_to_references.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddConfidentialToReferences < ActiveRecord::Migration[8.0]
def change
add_column :references, :confidential, :boolean, default: true, null: false
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.1].define(version: 2024_09_06_125159) do
ActiveRecord::Schema[8.0].define(version: 2024_11_21_144711) do
create_sequence "qualifications_public_id_seq", start: 120000

# These are extensions that must be enabled in order to support this database
Expand Down Expand Up @@ -757,6 +757,7 @@
t.boolean "duplicate", default: false
t.boolean "selected", default: false
t.boolean "refused"
t.boolean "confidential", default: true, null: false
t.index ["application_form_id"], name: "index_references_on_application_form_id"
t.index ["feedback_status"], name: "index_references_on_feedback_status"
end
Expand Down
Binary file modified docs/domain-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading