Hi Itamar,
This is great. It is something I had been wanting for a couple of database assignment projects I have in use. Works in Moodle 2.5, 2.6, and even in 2.7. Like you mentioned, the only problem was the missing string warning when adding the field so I added it myself.
Thanks,
AL