Change db schema and add an assert