Added SQL schema.
Merge commit 'f3d9752b01dcb7ec0d4bb11e4c7257d2f17b052d' into 1.0