11 lines
384 B
Ruby
11 lines
384 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddPersonalDataToPeople < ActiveRecord::Migration[6.0]
|
|
def change
|
|
# rubocop:disable Rails/NotNullColumn
|
|
add_column :people, :sex, :sex, null: false
|
|
add_column :people, :date_of_birth, :date, null: false
|
|
add_column :people, :place_of_birth, :string, null: false
|
|
# rubocop:enable Rails/NotNullColumn
|
|
end
|
|
end
|