Correctly working db - schema creation script