You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					
						 | 
			6 years ago | |
|---|---|---|
| env/local | 6 years ago | |
| sql | 6 years ago | |
| .gitignore | 6 years ago | |
| README.md | 6 years ago | |
| docker-compose.yml | 6 years ago | |
		
			
				
				README.md
			
		
		
	
	SQL test
Usage
- Run up Postgresql server
 
$ docker-compose up db
- Stop Postgresql server
 
$ docker-compose down
- Connect to test database on Postgresql server using psql
 
$ docker-compose exec db psql -U postgres test
- Execute SQL file
 
$ docker-compose exec db psql -v ON_ERROR_STOP=1 -U postgres test -a -f "sql/schema.sql"