Changed table creation order.