permalink for stages

![screen shot 2014-10-10 at 5 15 44 pm](https://cloud.githubusercontent.com/assets/11367/4600737/d873234c-50db-11e4-82bf-97af0f52439e.png)

solves https://github.com/zendesk/samson/issues/127

@steved555 @pswadi-zendesk @princemaple 

### Risks
 - bookmarks breaking
thx for double checking :D

On Mon, Oct 13, 2014 at 8:52 PM, Po Chen <notifications@github.com> wrote:

> In db/migrate/20141011000131_add_permalink_to_stages.rb:
>
> > @@ -0,0 +1,17 @@
> > +class AddPermalinkToStages < ActiveRecord::Migration
> > +  def change
> > +    add_column :stages, :permalink, :string
> > +    add_index :stages, :permalink, unique: true
> > +
> > +    Stage.reset_column_information
> > +
> > +    Project.with_deleted do
>
> With Stage it works.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/zendesk/samson/pull/156/files#r18807816>.
>