fix schema
indexes for tables