Updated sql schema

It looks as if schema for one table was missing.

Would you want me to sent this to branch 2.0.0 too?