Sha256: 10ae001c7398038f5925bc0109277dc59bc48aeceefaea4740185b3d2264a857
Contents?: true
Size: 451 Bytes
Versions: 12
Compression:
Stored size: 451 Bytes
Contents
class AddRecipientPermanentDeleteAndSenderPermanentDeleteToMessages < ActiveRecord::Migration def self.up add_column :<%= table_name %>, :recipient_permanent_delete, :boolean, :default => false add_column :<%= table_name %>, :sender_permanent_delete, :boolean, :default => false end def self.down remove_column :<%= table_name %>, :recipient_permanent_delete remove_column :<%= table_name %>, :sender_permanent_delete end end
Version data entries
12 entries across 12 versions & 1 rubygems