diff --git a/app/models/further_information_request.rb b/app/models/further_information_request.rb index c088cff408..65996c75c5 100644 --- a/app/models/further_information_request.rb +++ b/app/models/further_information_request.rb @@ -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 diff --git a/app/models/professional_standing_request.rb b/app/models/professional_standing_request.rb index 459d64b5ca..6f8454438c 100644 --- a/app/models/professional_standing_request.rb +++ b/app/models/professional_standing_request.rb @@ -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 diff --git a/app/models/qualification_request.rb b/app/models/qualification_request.rb index e88088215e..a22cbf5301 100644 --- a/app/models/qualification_request.rb +++ b/app/models/qualification_request.rb @@ -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 diff --git a/app/models/reference_request.rb b/app/models/reference_request.rb index d4d9034109..d024b03cf1 100644 --- a/app/models/reference_request.rb +++ b/app/models/reference_request.rb @@ -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 diff --git a/config/analytics.yml b/config/analytics.yml index d2454d5a2f..1ad1d5b797 100644 --- a/config/analytics.yml +++ b/config/analytics.yml @@ -184,7 +184,6 @@ - received_at - requested_at - reviewed_at - - state - updated_at - working_days_assessment_started_to_creation - working_days_received_to_recommendation @@ -221,7 +220,6 @@ - received_at - requested_at - reviewed_at - - state - updated_at :qualifications: - id @@ -247,7 +245,6 @@ - received_at - requested_at - reviewed_at - - state - updated_at :reference_requests: - additional_information_response @@ -279,7 +276,6 @@ - satisfied_comment - satisfied_response - slug - - state - updated_at - work_history_id :regions: diff --git a/db/schema.rb b/db/schema.rb index 12fdbfe4f3..74449105f7 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2023_09_26_142509) do +ActiveRecord::Schema[7.0].define(version: 2023_09_26_162102) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto" enable_extension "plpgsql" @@ -240,7 +240,6 @@ create_table "further_information_requests", force: :cascade do |t| t.bigint "assessment_id", null: false - t.string "state", default: "requested", null: false t.datetime "received_at" t.datetime "created_at", null: false t.datetime "updated_at", null: false @@ -267,7 +266,6 @@ create_table "professional_standing_requests", force: :cascade do |t| t.bigint "assessment_id", null: false - t.string "state", default: "requested", null: false t.datetime "received_at" t.text "location_note", default: "", null: false t.datetime "created_at", null: false @@ -284,7 +282,6 @@ create_table "qualification_requests", force: :cascade do |t| t.bigint "assessment_id", null: false t.bigint "qualification_id", null: false - t.string "state", default: "requested", null: false t.datetime "received_at" t.text "location_note", default: "", null: false t.datetime "created_at", null: false @@ -316,7 +313,6 @@ t.string "slug", null: false t.bigint "assessment_id", null: false t.bigint "work_history_id", null: false - t.string "state", default: "requested", null: false t.datetime "received_at" t.boolean "dates_response" t.boolean "hours_response" diff --git a/spec/factories/further_information_requests.rb b/spec/factories/further_information_requests.rb index c626ca2dbb..99b626825a 100644 --- a/spec/factories/further_information_requests.rb +++ b/spec/factories/further_information_requests.rb @@ -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 diff --git a/spec/factories/professional_standing_requests.rb b/spec/factories/professional_standing_requests.rb index 2656d89516..841565ad1f 100644 --- a/spec/factories/professional_standing_requests.rb +++ b/spec/factories/professional_standing_requests.rb @@ -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 diff --git a/spec/factories/qualification_requests.rb b/spec/factories/qualification_requests.rb index b5836caa6c..2e65a99ac8 100644 --- a/spec/factories/qualification_requests.rb +++ b/spec/factories/qualification_requests.rb @@ -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 diff --git a/spec/factories/reference_requests.rb b/spec/factories/reference_requests.rb index d0e2581227..15cbece673 100644 --- a/spec/factories/reference_requests.rb +++ b/spec/factories/reference_requests.rb @@ -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 diff --git a/spec/models/further_information_request_spec.rb b/spec/models/further_information_request_spec.rb index df05a4062e..54bda9b9a1 100644 --- a/spec/models/further_information_request_spec.rb +++ b/spec/models/further_information_request_spec.rb @@ -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 diff --git a/spec/models/professional_standing_request_spec.rb b/spec/models/professional_standing_request_spec.rb index 566a321820..571eb47a77 100644 --- a/spec/models/professional_standing_request_spec.rb +++ b/spec/models/professional_standing_request_spec.rb @@ -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 diff --git a/spec/models/qualification_request_spec.rb b/spec/models/qualification_request_spec.rb index ee9de4621f..c70509a484 100644 --- a/spec/models/qualification_request_spec.rb +++ b/spec/models/qualification_request_spec.rb @@ -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 diff --git a/spec/models/reference_request_spec.rb b/spec/models/reference_request_spec.rb index 5d2c602817..adc83081b8 100644 --- a/spec/models/reference_request_spec.rb +++ b/spec/models/reference_request_spec.rb @@ -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