Sha256: b6cf167455aba5d5f82a388bb1fee01256c6ecba3ef718a210d46d456679d571

Contents?: true

Size: 249 Bytes

Versions: 45

Compression:

Stored size: 249 Bytes

Contents

class AddSprintOption < ActiveRecord::Migration
  def self.up
    add_column :backlogs, :enable_periods, :boolean
    execute("UPDATE backlogs SET enable_periods = TRUE")
  end

  def self.down
    remove_column :backlogs, :enable_periods
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
backlog-0.37.2 db/migrate/024_add_sprint_option.rb
backlog-0.37.1 db/migrate/024_add_sprint_option.rb
backlog-0.36.2 db/migrate/024_add_sprint_option.rb
backlog-0.15.0 db/migrate/024_add_sprint_option.rb
backlog-0.16.0 db/migrate/024_add_sprint_option.rb
backlog-0.15.1 db/migrate/024_add_sprint_option.rb
backlog-0.17.0 db/migrate/024_add_sprint_option.rb
backlog-0.17.1 db/migrate/024_add_sprint_option.rb
backlog-0.17.2 db/migrate/024_add_sprint_option.rb
backlog-0.17.4 db/migrate/024_add_sprint_option.rb
backlog-0.17.3 db/migrate/024_add_sprint_option.rb
backlog-0.17.5 db/migrate/024_add_sprint_option.rb
backlog-0.18.0 db/migrate/024_add_sprint_option.rb
backlog-0.17.6 db/migrate/024_add_sprint_option.rb
backlog-0.19.0 db/migrate/024_add_sprint_option.rb
backlog-0.20.0 db/migrate/024_add_sprint_option.rb
backlog-0.20.1 db/migrate/024_add_sprint_option.rb
backlog-0.21.0 db/migrate/024_add_sprint_option.rb
backlog-0.21.2 db/migrate/024_add_sprint_option.rb
backlog-0.21.1 db/migrate/024_add_sprint_option.rb