1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/db/migrate/20160630083556_add_slug_to_age_range.rb

7 lines
163 B
Ruby
Raw Normal View History

class AddSlugToAgeRange < ActiveRecord::Migration
def change
add_column :age_ranges, :slug, :string
add_index :age_ranges, :slug, unique: true
end
end