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

9 lines
204 B
Ruby

# frozen_string_literal:true
class AddSlugToEventTheme < ActiveRecord::Migration[4.2]
def change
add_column :event_themes, :slug, :string
add_index :event_themes, :slug, unique: true
end
end