Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erreur avec les migrations SQL bdd logs #2472

Open
BastLast opened this issue Apr 1, 2024 · 4 comments
Open

erreur avec les migrations SQL bdd logs #2472

BastLast opened this issue Apr 1, 2024 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@BastLast
Copy link
Member

BastLast commented Apr 1, 2024

Depuis la suppression des effets, la migration pour les logs ne fonctionne plus pour une nouvelle bdd

{ event: 'migrating', name: '002-elo.js' }
MigrationError: Migration 002-elo.js (up) failed: Original error: (conn=5, no: 1054, SQLState: 42S22) Unknown column 'effect' in 'field list'
sql: SELECT `id`, `keycloakId`, `health`, `fightPointsLost`, `score`, `weeklyScore`, `level`, `experience`, `money`, `class`, `badges`, `guildId`, `topggVoteAt`, `nextEvent`, `petId`, `lastPetFree`, `effect`, `effectEndDate`, `effectDuration`, `mapLinkId`, `startTravelDate`, `notifications`, `gloryPoints`, `gloryPointsLastSeason`, `fightCountdown`, `rage`, `updatedAt`, `createdAt` FROM `players` AS `Player`; - parameters:[]

Originally posted by @MelvinCou in #2468 (reply in thread)

@BastLast BastLast added this to the DraftBot V5 milestone Apr 1, 2024
@BastLast BastLast added the bug Something isn't working label Apr 1, 2024
@BastLast
Copy link
Member Author

BastLast commented Apr 1, 2024

@Feiryn une idée de comment on peut fix ça ?

@BastLast
Copy link
Member Author

BastLast commented Apr 1, 2024

parce que en gros c'est un soucis d'ordre d'execution des migrations est pas le meme

@Feiryn
Copy link
Contributor

Feiryn commented Apr 17, 2024

Je n'arrive pas à reproduire l'erreur

@Feiryn
Copy link
Contributor

Feiryn commented Apr 17, 2024

Ok je crois qu'il me faut une bdd avec du contenu, wait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants