mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:29:30 +08:00
slug column for topics, for the performance
This commit is contained in:
parent
0b76166ad1
commit
aa6485639b
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 New Issue
Block a user