generic example work for table without relation. Primary key is not auto-detected