Taking the safer old version of schema

I screwed up something badly.
Taking the stable verison of schema.sql from
ed2d8573f2c3b57d9ea256edd1424ab5d7d85a36