6 lines
128 B
Ruby
6 lines
128 B
Ruby
|
class AddIndexToSubcredditSlug < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :subcreddits, :slug, unique: true
|
||
|
end
|
||
|
end
|