Added creating indexes when new table is created