clarion/db/migrate/20150712103000_add_slug_to_conferences.rb
2019-04-28 11:56:16 +03:00

7 lines
159 B
Ruby

class AddSlugToConferences < ActiveRecord::Migration[4.2]
def change
add_column :conferences, :slug, :string
add_index :conferences, :slug
end
end