diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-24 13:01:12 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-24 13:01:12 -0500 |
commit | 25d628fca314aebb25e3976f006cc96629a3d780 (patch) | |
tree | bb4304947f7727264038b90b0e48a9783a1f30ff /app/models/chat_account.rb | |
parent | d83fcfd1f15a97bfb5c6f36a82d7253175518daf (diff) |
revert the current unfinished chat implementation
Diffstat (limited to 'app/models/chat_account.rb')
-rw-r--r-- | app/models/chat_account.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/models/chat_account.rb b/app/models/chat_account.rb deleted file mode 100644 index 41589a395..000000000 --- a/app/models/chat_account.rb +++ /dev/null @@ -1,17 +0,0 @@ -# == Schema Information -# -# Table name: chat_accounts -# -# id :bigint(8) not null, primary key -# account_id :bigint(8) not null -# tag_id :bigint(8) not null -# created_at :datetime not null -# updated_at :datetime not null -# - -class ChatAccount < ApplicationRecord - belongs_to :account, inverse_of: :chat_accounts - belongs_to :tag, inverse_of: :chat_accounts - - validates :account_id, uniqueness: { scope: :tag_id } -end |