react-code-dataset / Facebook-Clone /db /migrate /20180613073108_add_column.rb
Devendra174's picture
Upload folder using huggingface_hub
f5071ca verified
raw
history blame contribute delete
153 Bytes
class AddColumn < ActiveRecord::Migration[5.2]
def change
add_column :posts, :wall_id ,:integer,null:false
add_index :posts,:wall_id
end
end