1
0
şunun yansıması https://github.com/redmine/redmine.git eşitlendi 2024-07-22 21:19:50 +02:00
redmine/db/migrate/089_add_attachments_description.rb
Jean-Philippe Lang 9daf39ec52 Adds an optional description to attachments.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-02-29 19:46:58 +00:00

10 satır
201 B
Ruby

class AddAttachmentsDescription < ActiveRecord::Migration
def self.up
add_column :attachments, :description, :string
end
def self.down
remove_column :attachments, :description
end
end