diff --git a/.gitignore b/.gitignore index 3619024573..c1e8f4af0b 100644 --- a/.gitignore +++ b/.gitignore @@ -108,6 +108,8 @@ ENV/ # Local Postgres data pg_data/ pg_data.bak*/ +dev/containers/postgresql/data/ +dev/containers/postgresql/data.bak*/ # static files koku/staticfiles/ diff --git a/Makefile b/Makefile index 89f2c7c60b..804e0a07d6 100644 --- a/Makefile +++ b/Makefile @@ -214,7 +214,7 @@ make-migrations: $(DJANGO_MANAGE) makemigrations api reporting reporting_common cost_models key_metrics delete-db: - @$(PREFIX) rm -rf $(TOPDIR)/dev/containers/postgresql/data/* + @$(PREFIX) rm -rf $(TOPDIR)/dev/containers/postgresql/data/ delete-test-db: @PGPASSWORD=$$DATABASE_PASSWORD psql -h $$POSTGRES_SQL_SERVICE_HOST \ diff --git a/dev/containers/postgresql/data/.gitignore b/dev/containers/postgresql/data/.gitignore deleted file mode 100644 index 668823aafa..0000000000 --- a/dev/containers/postgresql/data/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# Ignore all files in this dir... -* - -# ... except for this one. -!.gitignore