mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
slug column for topics, for the performance
This commit is contained in:
parent
0b76166ad1
commit
aa6485639b
1 changed files with 5 additions and 0 deletions
5
db/migrate/20130424015746_add_slug_to_topics.rb
Normal file
5
db/migrate/20130424015746_add_slug_to_topics.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddSlugToTopics < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :topics, :slug, :string
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue