discourse/db/migrate/20170609115401_add_extensio...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
215 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddExtensionToTopicLinks < ActiveRecord::Migration[4.2]
def change
add_column :topic_links, :extension, :string, limit: 10
add_index :topic_links, :extension
end
end