diaspora/db/migrate/20130429073928_add_tweet_id_to_post.rb
Dumitru Ursu 28fdba5d89 Shorten indexes
Fix merge conflict
2015-01-20 22:41:52 +02:00

6 lines
181 B
Ruby

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