diaspora/db/migrate/20130429073928_add_tweet_id_to_post.rb
2013-05-20 11:00:00 +08:00

6 lines
144 B
Ruby

class AddTweetIdToPost < ActiveRecord::Migration
def change
add_column :posts, :tweet_id, :string
add_index :posts, :tweet_id
end
end