psql -U postgres
CREATE DATABASE my_test_db
\l
\c my_test_db
\d
\c database_name;
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;
ALTER TABLE table_name DROP COLUMN IF EXISTS column_name;
psql -U postgres -d northwind
psql -U postgres
CREATE DATABASE my_test_db
\l
\c my_test_db
\d
\c database_name;
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;
ALTER TABLE table_name DROP COLUMN IF EXISTS column_name;
psql -U postgres -d northwind
brew services restart postgresql@16
pg_hba.conf path