Individual: change birthdate column type

This commit is contained in:
simon lehericey 2018-04-04 13:49:52 +02:00
parent 235dfc0ab1
commit 155ffcb4ba
2 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,6 @@
class ChangeBirthdateTypeFromIndividual < ActiveRecord::Migration[5.2]
def up
remove_column :individuals, :birthdate, :string
rename_column :individuals, :second_birthdate, :birthdate
end
end