react-code-dataset / facenovel /db /migrate /20180926173339_add_recipient_to_posts.rb
Devendra174's picture
Upload folder using huggingface_hub
f5071ca verified
raw
history blame contribute delete
176 Bytes
class AddRecipientToPosts < ActiveRecord::Migration[5.1]
def change
add_column :posts, :recipient_id, :integer, null: false
add_index :posts, :recipient_id
end
end