adding database schema for x