Shadowblade911 / MrLancer-v2

ISC License
0 stars 0 forks source link

How to handle the existing set of prompts for which we don't have user IDs #12

Closed jcotton42 closed 2 years ago

jcotton42 commented 2 years ago

For the current set of prompts we're planning to import none of the will have an associated user ID, but the current schema for the prompts table doesn't allow a null user ID.

Maybe make it nullable, and just add a null check before outputting who wrote the prompt.