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