diaspora/db/migrate/20130429073928_add_tweet_id_to_post.rb
2017-08-12 15:39:26 +02:00

6 lines
186 B
Ruby

class AddTweetIdToPost < ActiveRecord::Migration[4.2]
def change
add_column :posts, :tweet_id, :string
add_index :posts, ['tweet_id'], :length => { "tweet_id" => 191 }
end
end