In tasks:open-db call the create tables every time. Fixes issue with tables creation. NOT A GOOD FIX, revisit this.