created db table for day