You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that NGram has been transformed into Ngram which is now incorrect. when I ran the migration, I got the following error:
Fauna Schema Migrate - 2.1.0
---------------------------------------
--- Starting subtask Retrieving current cloud migration state
--- Finished subtask Retrieved current migration state
Error in file: fauna/migrations/2021-05-02T03_43_07.746Z/create-index-searchUsersByName.fql
Ngram is not defined
EDIT 1:
I tried manualy editing the generated migration to:
I simply updated Ngram to NGram but somehow I still got the same error.
EDIT 2:
Okay, it's the same error but somehow different trails:
Fauna Schema Migrate - 2.1.0
---------------------------------------
--- Starting subtask Retrieving current cloud migration state
--- Finished subtask Retrieved current migration state
--------- Current cloud migrations----------
2021-03-28T10:48:52.250Z
2021-04-17T02:03:19.186Z
2021-04-17T09:15:39.642Z
--------- Current local migrations ----------
2021-03-28T10:48:52.250Z
2021-04-17T02:03:19.186Z
2021-04-17T09:15:39.642Z
2021-05-02T03:43:07.746Z
--------- Task ----------
apply 1 migrations
--- Starting subtask [ DB: ROOT ] Generate migration code
Ngram is not defined
Stacktrace ReferenceError: Ngram is not defined
EDIT 3:
I have updated to version 2.1.2 but still the same error as above.
The text was updated successfully, but these errors were encountered:
This appears to be coming from the JavaScript driver. Since NGram is not listed as one of the special cases, it is not converted to CamelCase correctly. We've created this issue in the JavaScript driver repo.
We'll update this issue once the JavaScript driver is updated.
I have the following:
And when I run
fauna-schema-migrate generate
, it generates the following:Notice that
NGram
has been transformed intoNgram
which is now incorrect. when I ran the migration, I got the following error:EDIT 1:
I tried manualy editing the generated migration to:
I simply updated
Ngram
toNGram
but somehow I still got the same error.EDIT 2:
Okay, it's the same error but somehow different trails:
EDIT 3:
I have updated to version 2.1.2 but still the same error as above.
The text was updated successfully, but these errors were encountered: