mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-03 14:24:23 +01:00
7 lines
163 B
Ruby
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
|