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