Sha256: c59541e12c0c610d6deabcbaa18234e72e6b0ad9c1710a3d3c9edcae8a4d4d80

Contents?: true

Size: 243 Bytes

Versions: 29

Compression:

Stored size: 243 Bytes

Contents

class AddDeletionFieldsToMessage < ActiveRecord::Migration[5.1]
  def change
    add_column :messages, :deletion_motive, :integer
    add_column :messages, :deleted_at, :datetime
    add_reference :messages, :deleted_by, index: true
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
mumuki-domain-9.23.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.22.1 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.22.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.21.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.20.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.19.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.18.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.17.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.16.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.15.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.14.1 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.14.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.13.1 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.13.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.12.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.11.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.10.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.9.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.8.1 db/migrate/20210318191512_add_deletion_fields_to_message.rb
mumuki-domain-9.8.0 db/migrate/20210318191512_add_deletion_fields_to_message.rb