Skip to content

Commit

Permalink
Merge branch '1264-remove-pb-disclosure-log-column' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Oct 25, 2023
2 parents 5b1f7c1 + b280dcc commit 73a1406
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 1 addition & 2 deletions app/models/public_body.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# == Schema Information
# Schema version: 20230209094128
# Schema version: 20231011091031
#
# Table name: public_bodies
#
Expand All @@ -12,7 +12,6 @@
# home_page :text
# api_key :string not null
# info_requests_count :integer default(0), not null
# disclosure_log :text
# info_requests_successful_count :integer
# info_requests_not_held_count :integer
# info_requests_overdue_count :integer
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemovePublicBodyDisclosureLog < ActiveRecord::Migration[7.0]
def change
remove_column :public_bodies, :disclosure_log, :text
end
end
3 changes: 1 addition & 2 deletions spec/factories/public_bodies.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# == Schema Information
# Schema version: 20230209094128
# Schema version: 20231011091031
#
# Table name: public_bodies
#
Expand All @@ -12,7 +12,6 @@
# home_page :text
# api_key :string not null
# info_requests_count :integer default(0), not null
# disclosure_log :text
# info_requests_successful_count :integer
# info_requests_not_held_count :integer
# info_requests_overdue_count :integer
Expand Down
3 changes: 1 addition & 2 deletions spec/fixtures/public_bodies.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# == Schema Information
# Schema version: 20230209094128
# Schema version: 20231011091031
#
# Table name: public_bodies
#
Expand All @@ -12,7 +12,6 @@
# home_page :text
# api_key :string not null
# info_requests_count :integer default(0), not null
# disclosure_log :text
# info_requests_successful_count :integer
# info_requests_not_held_count :integer
# info_requests_overdue_count :integer
Expand Down
3 changes: 1 addition & 2 deletions spec/models/public_body_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# == Schema Information
# Schema version: 20230209094128
# Schema version: 20231011091031
#
# Table name: public_bodies
#
Expand All @@ -12,7 +12,6 @@
# home_page :text
# api_key :string not null
# info_requests_count :integer default(0), not null
# disclosure_log :text
# info_requests_successful_count :integer
# info_requests_not_held_count :integer
# info_requests_overdue_count :integer
Expand Down

0 comments on commit 73a1406

Please sign in to comment.