Skip to content

Commit 9985877

Browse files
committed
Add gender to the person model
1 parent ead91b2 commit 9985877

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
class AddGenderToPerson < ActiveRecord::Migration[8.0]
4+
def change
5+
add_column :people, :gender, :string
6+
end
7+
end

db/schema.rb

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)