initial devcontainer setup

This commit is contained in:
Jeff Clement 2025-07-18 23:12:35 +00:00
commit b9b7aa6a08
Signed by: jeff
GPG key ID: 3BCB43A3F0E1D7DA
14 changed files with 411 additions and 0 deletions

13
.devcontainer/nuke_db.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
echo " - Clearing existing objects"
# Clean existing objects using schema drop
psql -d ${PGDATABASE} -v ON_ERROR_STOP=1 <<-EOSQL > /dev/null 2>&1
DROP SCHEMA PUBLIC CASCADE;
CREATE SCHEMA PUBLIC;
EOSQL
echo "Database nuked successfully"