discourse/db/migrate/20170609115401_add_extensio...

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