You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scrum/db/migrate/20160908161500_add_sprints_...

18 lines
628 B
Ruby

# Copyright © Emilio González Montaña
# Licence: Attribution & no derivatives
# * Attribution to the plugin web page URL should be done if you want to use it.
# https://redmine.ociotec.com/projects/redmine-plugin-scrum
# * No derivatives of this plugin (or partial) are allowed.
# Take a look to licence.txt file at plugin root folder for further details.
class AddSprintsShared < ActiveRecord::Migration[4.2]
def self.up
add_column :sprints, :shared, :boolean, :default => false
add_index :sprints, [:shared], :name => "sprints_shared"
end
def self.down
remove_column :sprints, :shared
end
end