Skip to content

Commit

Permalink
Remove state column
Browse files Browse the repository at this point in the history
This removes the column from all the requestables as we're no longer
using it for anything and it can be safely removed.
  • Loading branch information
thomasleese committed Sep 26, 2023
1 parent 1e090de commit e681395
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 21 deletions.
1 change: 0 additions & 1 deletion app/models/further_information_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# working_days_assessment_started_to_creation :integer
# working_days_received_to_recommendation :integer
# working_days_since_received :integer
Expand Down
1 change: 0 additions & 1 deletion app/models/professional_standing_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
1 change: 0 additions & 1 deletion app/models/qualification_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
1 change: 0 additions & 1 deletion app/models/reference_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
# satisfied_comment :text default(""), not null
# satisfied_response :boolean
# slug :string not null
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
4 changes: 0 additions & 4 deletions config/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@
- received_at
- requested_at
- reviewed_at
- state
- updated_at
- working_days_assessment_started_to_creation
- working_days_received_to_recommendation
Expand Down Expand Up @@ -221,7 +220,6 @@
- received_at
- requested_at
- reviewed_at
- state
- updated_at
:qualifications:
- id
Expand All @@ -247,7 +245,6 @@
- received_at
- requested_at
- reviewed_at
- state
- updated_at
:reference_requests:
- additional_information_response
Expand Down Expand Up @@ -279,7 +276,6 @@
- satisfied_comment
- satisfied_response
- slug
- state
- updated_at
- work_history_id
:regions:
Expand Down
6 changes: 1 addition & 5 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion spec/factories/further_information_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# working_days_assessment_started_to_creation :integer
# working_days_received_to_recommendation :integer
# working_days_since_received :integer
Expand Down
1 change: 0 additions & 1 deletion spec/factories/professional_standing_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
1 change: 0 additions & 1 deletion spec/factories/qualification_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
1 change: 0 additions & 1 deletion spec/factories/reference_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
# satisfied_comment :text default(""), not null
# satisfied_response :boolean
# slug :string not null
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
1 change: 0 additions & 1 deletion spec/models/further_information_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# working_days_assessment_started_to_creation :integer
# working_days_received_to_recommendation :integer
# working_days_since_received :integer
Expand Down
1 change: 0 additions & 1 deletion spec/models/professional_standing_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
1 change: 0 additions & 1 deletion spec/models/qualification_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# received_at :datetime
# requested_at :datetime
# reviewed_at :datetime
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down
1 change: 0 additions & 1 deletion spec/models/reference_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
# satisfied_comment :text default(""), not null
# satisfied_response :boolean
# slug :string not null
# state :string default("requested"), not null
# created_at :datetime not null
# updated_at :datetime not null
# assessment_id :bigint not null
Expand Down

0 comments on commit e681395

Please sign in to comment.