[server] Update createTable() with recent fashion.