Sha256: 97bedf609c37f139f271c176fcf6d32f4fe961c09e6046389c80b47f0cb6d1dd
Contents?: true
Size: 615 Bytes
Versions: 6
Compression:
Stored size: 615 Bytes
Contents
class AddAttachmentsAttachmentToManifestation < ActiveRecord::Migration[5.2] def self.up add_column :manifestations, :attachment_file_name, :string add_column :manifestations, :attachment_content_type, :string add_column :manifestations, :attachment_file_size, :integer add_column :manifestations, :attachment_updated_at, :datetime end def self.down remove_column :manifestations, :attachment_file_name remove_column :manifestations, :attachment_content_type remove_column :manifestations, :attachment_file_size remove_column :manifestations, :attachment_updated_at end end
Version data entries
6 entries across 6 versions & 6 rubygems