mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 10:37:59 +08:00
11 lines
396 B
Ruby
11 lines
396 B
Ruby
# frozen_string_literal: true
|
|
|
|
# No ActiveRecord for these models. Avoids the "unknown OID" warnings.
|
|
# We need it in core, because plugins are not loaded in core tests,
|
|
# but the tables are likely still present in the test database.
|
|
ActiveRecord.schema_cache_ignored_tables.push(
|
|
"ai_topics_embeddings",
|
|
"ai_posts_embeddings",
|
|
"ai_user_embeddings",
|
|
"ai_document_fragments_embeddings",
|
|
)
|