Individual: change birthdate column type
This commit is contained in:
parent
235dfc0ab1
commit
155ffcb4ba
2 changed files with 8 additions and 3 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue