db schema and fixed insert