DB Schema change
PJNorrisS1 opened this issue · comments
Seasonal Greetings!
A couple of minor requests if you could be so kind to squeeze in for us please?
- .box._description is varchar(4096), however the box description is limited to 1024 - please can that be changed?
- add a new field to .flag called _plain_answer as a varchar(256) - this is purely an internal admin db and nothing in the interface. We want to query the DB to show the flags and answers, but not the regex tokens, so we want to store the acceptable answer in this field so we can query it
Thank you
PJ
Hello! Any thoughts on the above schema change please?
Sounds good, just haven't had time to look at it. The box description should be an easy fix. The new field will take a little longer as it has a db migration script.
Ok, should be all set.
Many thanks for doing this. qq. should the master build update existing db schemas or is it only when new db's are created? Is the _plain entry visible in the 'create flag' screen, or i manually update the db ?
It should update existing db. It is not visible in the UI yet, just the db.
Thanks - didn't update my db, hence asking. I see the box description fixed now. I'll do it again and see how it goes. Thank you.
ah ignore me, picked the wrong db to browse! haha - see _plain_answer now - thank you!