mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
Have make create_database create .env if its missing (#6345)
This commit is contained in:
2
Makefile
2
Makefile
@@ -13,7 +13,7 @@ test_db:
|
|||||||
done
|
done
|
||||||
docker-compose exec postgres sh -c 'psql -U postgres -c "drop database if exists tests;" && psql -U postgres -c "create database tests;"'
|
docker-compose exec postgres sh -c 'psql -U postgres -c "drop database if exists tests;" && psql -U postgres -c "create database tests;"'
|
||||||
|
|
||||||
create_database:
|
create_database: .env
|
||||||
docker-compose run server create_db
|
docker-compose run server create_db
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user