Estou recebendo isso em duas instâncias de desenvolvimento ao tentar executar specs de plugins na versão mais recente.
(o banco de dados foi totalmente migrado no ambiente de teste):
por exemplo bin/rake plugin:spec\[discourse-locations]
Ocorreu um erro ao carregar rails_helper.
Failure/Error: default_scope { where(deleted_at: nil) }
ActiveRecord::StatementInvalid:
PG::UndefinedTable: ERROR: relação \"chat_channels\" não existe
LINE 9: WHERE a.attrelid = '\"chat_channels\"'::regclass
< CORTADO >
# --- Causado por: ---
# PG::UndefinedTable:
# ERROR: relação \"chat_channels\" não existe
# LINE 9: WHERE a.attrelid = '\"chat_channels\"'::regclass