From 25d628fca314aebb25e3976f006cc96629a3d780 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 24 Jul 2019 13:01:12 -0500 Subject: revert the current unfinished chat implementation --- db/migrate/20190526052454_create_chat_accounts.rb | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 db/migrate/20190526052454_create_chat_accounts.rb (limited to 'db/migrate/20190526052454_create_chat_accounts.rb') diff --git a/db/migrate/20190526052454_create_chat_accounts.rb b/db/migrate/20190526052454_create_chat_accounts.rb deleted file mode 100644 index b950e36c1..000000000 --- a/db/migrate/20190526052454_create_chat_accounts.rb +++ /dev/null @@ -1,11 +0,0 @@ -class CreateChatAccounts < ActiveRecord::Migration[5.2] - def change - create_table :chat_accounts do |t| - t.references :account, foreign_key: { on_delete: :cascade }, null: false - t.references :tag, foreign_key: { on_delete: :cascade }, null: false - t.index [:account_id, :tag_id], unique: true - t.index [:tag_id, :account_id] - t.timestamps - end - end -end -- cgit