clarion/db/migrate/20150712103000_add_slug_to_...

7 lines
159 B
Ruby
Raw Permalink Normal View History

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