create db check