Newer
Older
dmpopidor / db / migrate / 20130717093801_add_slug_to_projects.rb
class AddSlugToProjects < ActiveRecord::Migration
  def change
    add_column :projects, :slug, :string
    add_index :projects, :slug, unique: true
  end
end