docbrown/db/migrate/20180303210932_add_slug_to_events.rb
Jess Lee 7cf3ae69f5 Show Pages For Events (#30)
* sort past events by most recent

* update-event-slugs

* adds tests

* fix linting issues

* remove pry
2018-03-09 16:46:27 -08:00

5 lines
115 B
Ruby

class AddSlugToEvents < ActiveRecord::Migration[5.1]
def change
add_column :events, :slug, :string
end
end