Skip to content

Commit

Permalink
Shorten the label-columns to not blow the row-limit again
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed May 6, 2024
1 parent 7e74209 commit a3e1201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20221124094837_add_address_labels_to_people.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class AddAddressLabelsToPeople < ActiveRecord::Migration[6.1]
billing_course).freeze
def change
ADDRESS_TYPES.each do |concern|
add_column :people, "#{concern}_label", :string
add_column :people, "#{concern}_label", :string, limit: 20 # was 255, the varchar-default
end
end
end

0 comments on commit a3e1201

Please sign in to comment.