We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d552ae commit db05f21Copy full SHA for db05f21
app/models/assistant.rb
@@ -1,5 +1,5 @@
1
class Assistant < ApplicationRecord
2
- has_many :chats
+ has_many :chats, dependent: :destroy
3
belongs_to :user
4
5
enum status: { development: 0, ready: 1 }
0 commit comments