aboutsummaryrefslogtreecommitdiffstats
path: root/ccsdk-app-common/db-scripts/README.md
diff options
context:
space:
mode:
authorNicolas Hu <jh245g@att.com>2017-10-06 10:28:45 -0400
committerNicolas Hu <jh245g@att.com>2017-10-06 10:40:45 -0400
commitc19189718469498377b194eea2f9a247bb79c4f9 (patch)
tree4987d0fa9c60bb5f1c2938e37194fdcbb2c2fd5b /ccsdk-app-common/db-scripts/README.md
parentd6c693de3070a6cd470356541324468d9fa42c59 (diff)
Refactor CCSDK/Dashboard project
Change-Id: I34451fbebbe7bbaaf1cd23aed5cef0f9a9ba37b7 Issues-Id: CCSDK-111 Signed-off-by: Nicolas Hu <jh245g@att.com>
Diffstat (limited to 'ccsdk-app-common/db-scripts/README.md')
-rw-r--r--ccsdk-app-common/db-scripts/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/ccsdk-app-common/db-scripts/README.md b/ccsdk-app-common/db-scripts/README.md
new file mode 100644
index 0000000..dc9379d
--- /dev/null
+++ b/ccsdk-app-common/db-scripts/README.md
@@ -0,0 +1,23 @@
+# ONAP Operations Manager Dashboard Database Scripts
+
+This directory has a DDL to create tables and and DML scripts to populate tables
+in Postgresql for the ONAP Operations Manager Dashboard web application.
+
+## Internal deployments
+
+To create a database for internal use:
+- Run the common DDL script
+- Run the common DML script
+- Run the internal-use-only DML script, which can be found in a different project
+
+## Open-source deployments
+
+To create a database for ONAP use:
+- Run the common DDL script
+- Run the common DML script
+
+## Notes on Postgresql:
+
+Set default schema for user:
+ ALTER USER <the-user-name> SET search_path to <the-schema-name>;
+ (the above statement is not needed for version 9.4 and above)