comparison db/migrate/20110303152903_add_active_column_to_attachments.rb @ 1484:51364c0cd58f redmine-2.4-integration

Merge from live branch. Still need to merge manually in files overridden by plugins.
author Chris Cannam
date Wed, 15 Jan 2014 09:59:14 +0000
parents 82caabe96ad4
children
comparison
equal deleted inserted replaced
1464:261b3d9a4903 1484:51364c0cd58f
1 class AddActiveColumnToAttachments < ActiveRecord::Migration
2 def self.up
3 add_column :attachments, :active, :boolean
4 end
5
6 def self.down
7 remove_column :attachments, :active
8 end
9 end