6 lines
144 B
Ruby
6 lines
144 B
Ruby
class AddTweetIdToPost < ActiveRecord::Migration
|
|
def change
|
|
add_column :posts, :tweet_id, :string
|
|
add_index :posts, :tweet_id
|
|
end
|
|
end
|