1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20160630083556_add_slug_to_age_range.rb

7 lines
163 B
Ruby

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