Sha256: 35f43d49a2719f815f5bb118b680a820f7845906b7f033f908ba9a95f716c8f1
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
class AddAttachmentToComment < ActiveRecord::Migration def self.up add_column :comments, :attachment_file_name, :string add_column :comments, :attachment_content_type, :string add_column :comments, :attachment_file_size, :integer add_column :comments, :attachment_updated_at, :datetime end def self.down remove_column :comments, :attachment_file_name remove_column :comments, :attachment_content_type remove_column :comments, :attachment_file_size remove_column :comments, :attachment_updated_at end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
remotipart-1.4.4 | spec/dummy_app/db/migrate/20110209210315_add_attachment_to_comment.rb |
remotipart-1.4.3 | spec/dummy_app/db/migrate/20110209210315_add_attachment_to_comment.rb |