discourse/db/migrate/20170609115401_add_extension_to_topic_links.rb
2017-07-06 19:15:30 +02:00

7 lines
179 B
Ruby

class AddExtensionToTopicLinks < ActiveRecord::Migration
def change
add_column :topic_links, :extension, :string, limit: 10
add_index :topic_links, :extension
end
end