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

7 lines
169 B
Ruby

class AddSlugToEventTheme < ActiveRecord::Migration
def change
add_column :event_themes, :slug, :string
add_index :event_themes, :slug, unique: true
end
end