Skip to content

Commit fbe0e83

Browse files
committed
rails g migration add_spoken_language_to_proposal spoken_language
1 parent e70f9e3 commit fbe0e83

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddSpokenLanguageToProposal < ActiveRecord::Migration[6.1]
2+
def change
3+
add_column :proposals, :spoken_language, :string
4+
end
5+
end

db/schema.rb

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
t.datetime "created_at", precision: nil
154154
t.datetime "updated_at", precision: nil
155155
t.float "average_rating"
156+
t.string "spoken_language"
156157
t.index ["event_id"], name: "index_proposals_on_event_id"
157158
t.index ["session_format_id"], name: "index_proposals_on_session_format_id"
158159
t.index ["track_id"], name: "index_proposals_on_track_id"

0 commit comments

Comments
 (0)