Mercurial > hg > soundsoftware-site
view .svn/pristine/a8/a89c2391944884496b2422d8187b6c5f71ac2c07.svn-base @ 1119:22d81bd0b62c redmine-2.2-integration
Deleted existing the embedded plugin and replaced it witgh redmine_embedded (same functionality, but upgraded to be compatible with Redmine 2.x).
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 08 Jan 2013 14:43:04 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class AddWorkflowsAssigneeAndAuthor < ActiveRecord::Migration def self.up add_column :workflows, :assignee, :boolean, :null => false, :default => false add_column :workflows, :author, :boolean, :null => false, :default => false Workflow.update_all("assignee = #{Workflow.connection.quoted_false}") Workflow.update_all("author = #{Workflow.connection.quoted_false}") end def self.down remove_column :workflows, :assignee remove_column :workflows, :author end end