Closed Jacob-Griffin closed 3 weeks ago
This shouldn't be too hard. The old game has a game_data table that can be exported as JSON, which I can then pretty easily reassemble on the new side
game_data
) as JSON
Old:
[
{
GameID: number,
ImgRef: string,
Round: number,
StackOwner: string,
Player: string
}
...
]
(ImgRef is both content types)
New:
{
[gameid: string]: {
[stackOwner: string]: {
content: string,
contentType: string,
from: string
}
}
}
So this process is a little bit involved, but mostly straightforward, and something I can write a script for
Timeline on this:
Data exists and I seem to be able to transfer it just fine. Enhancements needed to fully support the migrated data:
Everything seems good to go. Starting the process tomorrow
Process seems to have gone smoothly. All enhancements are in, and all data is transferred
The last little bit that has to happen before we finish the move and host this app on blowyourfaceoff.com is we have to get the previous games off of the old database and into the new format/on firebase. Might take a bit of effort to transform the data and upload it in a way that respects rate limits.