diff --git a/.gitattributes b/.gitattributes
index 01d43119f5eb5087ec441621d58d9542b0bf2812..b7d99216ff3c78bf2d5b53ebe3c2293b90e960d1 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,6 @@
 * text=auto !eol
 /build-all.sh -text
+/cfar_postgres_setup.sh -text
 /clean-all.sh -text
 /get-peasoup-packages.sh -text
 /irdb_vars -text
diff --git a/cfar_postgres_setup.sh b/cfar_postgres_setup.sh
new file mode 100755
index 0000000000000000000000000000000000000000..63dc7a354cf85753a2e2e37573312a3a4331675c
--- /dev/null
+++ b/cfar_postgres_setup.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+#Create Database User and Table
+source set_env_vars
+for i in $(seq 0 4)
+do
+	sudo su -c "createdb -O $USER peasoup_$USER_v$i" postgres
+
+	#Setup the Database to store PEASOUP info
+	PGDATABASE=peasoup_$USER_v$i $PEASOUP_HOME/tools/db/pdb_setup.sh
+
+done