Tomas
WWasp-lang
•Created by Tomas on 10/10/2024 in #đŸ™‹questions
Migration Error after Fly.io deployment
if anyone gets that error it would be enough to delete the row with the failing migration in the prod database đŸ™‚
15 replies
WWasp-lang
•Created by Tomas on 10/10/2024 in #đŸ™‹questions
Migration Error after Fly.io deployment
and this started happening only after that upgrade
15 replies
WWasp-lang
•Created by Tomas on 10/10/2024 in #đŸ™‹questions
Migration Error after Fly.io deployment
i think it has something to do with the upgrade from 0.13 to 0.14.. that messed up a few things in my migrations locally at least
15 replies
WWasp-lang
•Created by Tomas on 10/10/2024 in #đŸ™‹questions
Migration Error after Fly.io deployment
fixed it! i went into my database and deleted the prisma_migration that had an error (that migration didnt exist in my local migrations)
15 replies
WWasp-lang
•Created by Tomas on 10/10/2024 in #đŸ™‹questions
Migration Error after Fly.io deployment
@kapa.ai
15 replies
WWasp-lang
•Created by Tomas on 10/10/2024 in #đŸ™‹questions
Migration Error after Fly.io deployment
i think this is the key line of the error:
2024-10-10T19:03:37.217 app[784e22df203d28] scl [info] migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
15 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
worked! thanks đŸ˜„
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
nice! thanks! ill try that
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
please let me know if you solve the issue
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
shared the repo with you!
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
as i said before, i didnt change anything else other than what the migration steps described and these issues started happening
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
the error is this : Property 'topics' does not exist on type '{}'
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
there is the frontend file that is calling the query file
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
sure
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
my problem specifically is with the useQuery for example where the data before came with the types. Now when i have data.topics (in my case) for example it says that data is of type unknown (before migrating it knew the type that came from the query)
Its not an IDE problem given that i noticed this error when trying to deploy and then when i went into the files i noticed my linter cought them as well (deploying with fly.io)
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
@kapa.ai
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
@kapa.ai
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
@kapa.ai
31 replies
WWasp-lang
•Created by Tomas on 10/3/2024 in #đŸ™‹questions
Full stack type safety wasp 0.13 to 0.14
i currently import like this:
import { getCourseTopics, useQuery } from 'wasp/client/operations';
31 replies