admin orders table

fixed initialization of database orders table