/bin/bash: line 1: q: command not found
This commit is contained in:
		@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					package ovh.herisson.Clyde.Repositories;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import org.springframework.data.repository.CrudRepository;
 | 
				
			||||||
 | 
					import ovh.herisson.Clyde.Tables.Token;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					public interface TokenRepository extends CrudRepository<Token,Long> {
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -10,6 +10,8 @@ public interface UserRepository extends CrudRepository<User, Long> {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    User findById(long id);
 | 
					    User findById(long id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    User findByEmail(String email);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
    @Query(value = "select a.* from Users a ",nativeQuery = true)
 | 
					    @Query(value = "select a.* from Users a ",nativeQuery = true)
 | 
				
			||||||
    Iterable<User> findAllUsers();**/
 | 
					    Iterable<User> findAllUsers();**/
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user