Project

General

Profile

Feature #16561 » 20140408082759_add_is_private_to_attachments.rb

Jacek Grzybowski, 2014-04-08 11:18

 
class AddIsPrivateToAttachments < ActiveRecord::Migration
def self.up
add_column :attachments, :is_private, :boolean, :default => false, :null => false
end

def self.down
remove_column :attachments, :is_private
end
end
(1-1/2)