# Migrazioni applicate che non avremmo dovuto fare con discourse-ai

**URL:** <https://meta.discourse.org/t/applied-migrations-we-shouldnt-have-with-discourse-ai/326824>\
**Category:** Product Support\
**Created:** [17 Settembre 2024, 9:58am UTC](https://meta.discourse.org/t/applied-migrations-we-shouldnt-have-with-discourse-ai/326824 "2024-09-17T09:58:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Cédric\_Brunet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/c%C3%A9dric_brunet/32/445808_2.png) [@Cédric\_Brunet](https://meta.discourse.org/u/C%C3%A9dric_Brunet)\
**Post date:** [17 Settembre 2024, 9:58am UTC](https://meta.discourse.org/t/applied-migrations-we-shouldnt-have-with-discourse-ai/326824/1 "2024-09-17T09:58:09Z")

</div>

Ciao,

Stiamo utilizzando discourse 3.3.0 e ho il job `Jobs::EmbeddingsBackfill` che fallisce con:  
`Job exception: PG::UndefinedTable: ERROR: relation "ai_topic_embeddings_8_1" does not exist`

Posso vedere che ho la tabella “ai\_topic\_embeddings”, ma nessuna delle tabelle `ai_topic_embeddings_8_1`, `ai_topic_embeddings_6_1`…

Quando eseguo `rake db:migrate:status` vedo che le migrazioni sono attive e la maggior parte delle funzionalità AI funzionano.

Hai qualche idea su cosa sia andato storto?

---

_[View the full topic](https://meta.discourse.org/t/applied-migrations-we-shouldnt-have-with-discourse-ai/326824)._
