mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +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
|