Recreates tables once.