discourse/db/migrate/20170609115401_add_extension_to_topic_links.rb
2017-06-20 13:01:31 +02:00

7 lines
178 B
Ruby

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