diff --git a/app/models/public_body.rb b/app/models/public_body.rb index 41b74a469e..72a48a22e4 100644 --- a/app/models/public_body.rb +++ b/app/models/public_body.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 20230209094128 +# Schema version: 20231011091031 # # Table name: public_bodies # @@ -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 diff --git a/db/migrate/20231011091031_remove_public_body_disclosure_log.rb b/db/migrate/20231011091031_remove_public_body_disclosure_log.rb new file mode 100644 index 0000000000..94c60f5e76 --- /dev/null +++ b/db/migrate/20231011091031_remove_public_body_disclosure_log.rb @@ -0,0 +1,5 @@ +class RemovePublicBodyDisclosureLog < ActiveRecord::Migration[7.0] + def change + remove_column :public_bodies, :disclosure_log, :text + end +end diff --git a/spec/factories/public_bodies.rb b/spec/factories/public_bodies.rb index 4bfcd433fd..6b8d992522 100644 --- a/spec/factories/public_bodies.rb +++ b/spec/factories/public_bodies.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 20230209094128 +# Schema version: 20231011091031 # # Table name: public_bodies # @@ -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 diff --git a/spec/fixtures/public_bodies.yml b/spec/fixtures/public_bodies.yml index 4ad64ca3bc..7ff6c06d98 100644 --- a/spec/fixtures/public_bodies.yml +++ b/spec/fixtures/public_bodies.yml @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 20230209094128 +# Schema version: 20231011091031 # # Table name: public_bodies # @@ -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 diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb index a1c8ec0863..480ed98211 100644 --- a/spec/models/public_body_spec.rb +++ b/spec/models/public_body_spec.rb @@ -1,5 +1,5 @@ # == Schema Information -# Schema version: 20230209094128 +# Schema version: 20231011091031 # # Table name: public_bodies # @@ -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