feat: Add attributes location and country_code to Contact model (#8803)

feat: Add attributes location and country_code to Contact model
This commit is contained in:
Muhsin Keloth
2024-01-29 14:10:14 +05:30
committed by GitHub
parent 766698cb3a
commit 485c561b18
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
class AddLocationAndCountryCodeToContacts < ActiveRecord::Migration[7.0]
def change
add_column :contacts, :location, :string, default: ''
add_column :contacts, :country_code, :string, default: ''
end
end