Fixed setup on MySQL servers running in STRICT mode

My MySQL server is runing in strict mode and I got some errors when trying to run the setup. I fixed the db schema and queries for the setup but there might be more issues like that in the running application (which I didn't check yet).

These are my changes:
- TEXT columns mustn't have a default value - removed it from db schema
- added value '' to those columns in queries where needed