Sha256: fd8e495abdf3a0dbcda27e452ddb1f1ac8a2bde332c9252fec5b3339070ffaa0
Contents?: true
Size: 234 Bytes
Versions: 7
Compression:
Stored size: 234 Bytes
Contents
class AddReplyingToComments < ActiveRecord::Migration[6.0] def change add_reference :commontator_comments, :parent, foreign_key: { to_table: :commontator_comments, on_update: :restrict, on_delete: :cascade } end end
Version data entries
7 entries across 7 versions & 1 rubygems