Skip to content

Commit 7e0de92

Browse files
committed
After migration is run.
1 parent c2d59e7 commit 7e0de92

7 files changed

Lines changed: 4 additions & 12 deletions

File tree

app/models/organization.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# hide_package_column_on_receipt :boolean default(FALSE)
1616
# hide_value_columns_on_receipt :boolean default(FALSE)
1717
# include_in_kind_values_in_exported_files :boolean default(FALSE), not null
18+
# include_packages_in_distribution_export :boolean default(FALSE), not null
1819
# intake_location :integer
1920
# invitation_text :text
2021
# latitude :float

app/models/partners/profile.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
# address2 :string
99
# agency_mission :text
1010
# agency_type :string
11-
# application_data :text
1211
# at_fpl_or_below :integer
1312
# case_management :boolean
1413
# city :string
1514
# client_capacity :string
1615
# currently_provide_diapers :boolean
1716
# describe_storage_space :text
1817
# distribution_times :string
19-
# distributor_type :string
2018
# enable_child_based_requests :boolean default(TRUE), not null
2119
# enable_individual_requests :boolean default(TRUE), not null
2220
# enable_quantity_based_requests :boolean default(TRUE), not null
@@ -59,7 +57,6 @@
5957
# program_address2 :string
6058
# program_age :string
6159
# program_city :string
62-
# program_client_improvement :text
6360
# program_description :text
6461
# program_name :string
6562
# program_state :string

db/schema.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@
520520
t.boolean "receive_email_on_requests", default: false, null: false
521521
t.boolean "include_in_kind_values_in_exported_files", default: false, null: false
522522
t.string "reminder_schedule_definition"
523+
t.boolean "include_packages_in_distribution_export", default: false, null: false
523524
t.boolean "bank_is_set_up", default: false, null: false
524525
t.index ["latitude", "longitude"], name: "index_organizations_on_latitude_and_longitude"
525526
end
@@ -548,10 +549,8 @@
548549

549550
create_table "partner_profiles", force: :cascade do |t|
550551
t.bigint "essentials_bank_id"
551-
t.text "application_data"
552552
t.integer "partner_id"
553553
t.string "name"
554-
t.string "distributor_type"
555554
t.string "agency_type"
556555
t.text "agency_mission"
557556
t.string "address1"
@@ -569,7 +568,6 @@
569568
t.string "program_age"
570569
t.boolean "case_management"
571570
t.boolean "evidence_based"
572-
t.text "program_client_improvement"
573571
t.string "essentials_use"
574572
t.string "receives_essentials_from_other"
575573
t.boolean "currently_provide_diapers"

spec/factories/organizations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# hide_package_column_on_receipt :boolean default(FALSE)
1616
# hide_value_columns_on_receipt :boolean default(FALSE)
1717
# include_in_kind_values_in_exported_files :boolean default(FALSE), not null
18+
# include_packages_in_distribution_export :boolean default(FALSE), not null
1819
# intake_location :integer
1920
# invitation_text :text
2021
# latitude :float

spec/factories/partners/profiles.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
# address2 :string
99
# agency_mission :text
1010
# agency_type :string
11-
# application_data :text
1211
# at_fpl_or_below :integer
1312
# case_management :boolean
1413
# city :string
1514
# client_capacity :string
1615
# currently_provide_diapers :boolean
1716
# describe_storage_space :text
1817
# distribution_times :string
19-
# distributor_type :string
2018
# enable_child_based_requests :boolean default(TRUE), not null
2119
# enable_individual_requests :boolean default(TRUE), not null
2220
# enable_quantity_based_requests :boolean default(TRUE), not null
@@ -59,7 +57,6 @@
5957
# program_address2 :string
6058
# program_age :string
6159
# program_city :string
62-
# program_client_improvement :text
6360
# program_description :text
6461
# program_name :string
6562
# program_state :string

spec/models/organization_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# hide_package_column_on_receipt :boolean default(FALSE)
1616
# hide_value_columns_on_receipt :boolean default(FALSE)
1717
# include_in_kind_values_in_exported_files :boolean default(FALSE), not null
18+
# include_packages_in_distribution_export :boolean default(FALSE), not null
1819
# intake_location :integer
1920
# invitation_text :text
2021
# latitude :float

spec/models/partners/profile_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
# address2 :string
99
# agency_mission :text
1010
# agency_type :string
11-
# application_data :text
1211
# at_fpl_or_below :integer
1312
# case_management :boolean
1413
# city :string
1514
# client_capacity :string
1615
# currently_provide_diapers :boolean
1716
# describe_storage_space :text
1817
# distribution_times :string
19-
# distributor_type :string
2018
# enable_child_based_requests :boolean default(TRUE), not null
2119
# enable_individual_requests :boolean default(TRUE), not null
2220
# enable_quantity_based_requests :boolean default(TRUE), not null
@@ -59,7 +57,6 @@
5957
# program_address2 :string
6058
# program_age :string
6159
# program_city :string
62-
# program_client_improvement :text
6360
# program_description :text
6461
# program_name :string
6562
# program_state :string

0 commit comments

Comments
 (0)