Closed jcotton42 closed 2 years ago
The initial migration does not await the createTable call for prompts causing it to never run. In addition it seems to be trying to add the guild ID column twice?
await
createTable
prompts
table.string(DB_CONSTANTS.PROMPTS.GUILD_ID); table.string(DB_CONSTANTS.PROMPTS.GUILD_ID) .references(DB_CONSTANTS.GUILD_DB.GUILD_ID) .inTable(DB_CONSTANTS.GUILD_DB.TABLE).notNullable();
I fixed this in my fork by adding the await and removing the first GUILD_ID line. Unsure if that was the right way to do it.
GUILD_ID
The initial migration does not
await
thecreateTable
call forprompts
causing it to never run. In addition it seems to be trying to add the guild ID column twice?I fixed this in my fork by adding the
await
and removing the firstGUILD_ID
line. Unsure if that was the right way to do it.