1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/db/migrate/20160630083759_add_slug_to_event_theme.rb

7 lines
169 B
Ruby
Raw Normal View History

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