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