1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +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