discourse/config/initializers/000-active_record.rb
David Taylor 6039bec0b7
ai ignore
2025-12-11 12:08:45 +00:00

11 lines
396 B
Ruby
Vendored

# 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",
)