Skip to content

Commit

Permalink
renamed files locally and updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
David Linko committed Oct 31, 2024
1 parent 4b23567 commit 0a4c240
Show file tree
Hide file tree
Showing 65 changed files with 7 additions and 14,120 deletions.
28 changes: 7 additions & 21 deletions amp-sql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,15 @@

FROM postgres:14

COPY postgres/Database_Scripts/Tables/amp_core_create_database.sql /docker-entrypoint-initdb.d/00-amp_core_create_database.sql
COPY postgres/Database_Scripts/Tables/transcoder.sql /docker-entrypoint-initdb.d/00-transcoder.sql
COPY postgres/Database_Scripts/Tables/adm_data.sql /docker-entrypoint-initdb.d/01-adm_data.sql
# COPY postgres/Database_Scripts/Tables/*.sql /docker-entrypoint-initdb.d/

COPY postgres/Database_Scripts/Views/obj_view.sql /docker-entrypoint-initdb.d/01-obj_view.sql
COPY postgres/Database_Scripts/Views/ari_view.sql /docker-entrypoint-initdb.d/14-ari_view.sql
COPY postgres/Database_Scripts/Views/ctrl_view.sql /docker-entrypoint-initdb.d/04-ctrl_view.sql
COPY postgres/Database_Scripts/Views/edd_view.sql /docker-entrypoint-initdb.d/05-edd_view.sql
COPY postgres/Database_Scripts/Views/mac_view.sql /docker-entrypoint-initdb.d/06-mac_view.sql
COPY postgres/Database_Scripts/Views/oper_view.sql /docker-entrypoint-initdb.d/07-oper_view.sql
COPY postgres/Database_Scripts/Views/message_view.sql /docker-entrypoint-initdb.d/08-message_view.sql
COPY postgres/Database_Scripts/Views/rpt_view.sql /docker-entrypoint-initdb.d/13-rpt_view.sql
COPY postgres/Database_Scripts/Views/sbr_view.sql /docker-entrypoint-initdb.d/09-sbr_view.sql
COPY postgres/Database_Scripts/Views/tbr_view.sql /docker-entrypoint-initdb.d/10-tbr_view.sql
COPY postgres/Database_Scripts/Views/tblt_view.sql /docker-entrypoint-initdb.d/11-tblt_view.sql
COPY postgres/Database_Scripts/Views/tnvc_view.sql /docker-entrypoint-initdb.d/12-tnvc_view.sql
COPY postgres/Database_Scripts/Views/parm_view.sql /docker-entrypoint-initdb.d/13-parm_view.sql
COPY postgres/Database_Scripts/Views/var_view.sql /docker-entrypoint-initdb.d/13-var_view.sql
COPY postgres/Database_Scripts/Views/namespace_view.sql /docker-entrypoint-initdb.d/13-namespace_view.sql
# COPY postgres/Database_Scripts/Views/*.sql /docker-entrypoint-initdb.d/
#
# COPY postgres/Database_Scripts/Routines/*.sql /docker-entrypoint-initdb.d/

COPY postgres/Database_Scripts/*/*.sql /docker-entrypoint-initdb.d/
COPY postgres/Database_Scripts/*.sql /docker-entrypoint-initdb.d/

COPY postgres/Database_Scripts/Routines/all_routines.sql /docker-entrypoint-initdb.d/16-all_routines.sql
COPY postgres/Database_Scripts/Tables/healthcheck_roles.sql /docker-entrypoint-initdb.d/17-healthcheck_roles.sql
COPY postgres/Database_Scripts/amp_core_functions.sql /docker-entrypoint-initdb.d/17-amp_core_functions.sql
# This is used for testing, it is easier to delete the amp_agent after inserting it using adm_amp_agent.sql instead of removing the script since other scripts are also relying on amp_agent
# COPY postgres/Database_Scripts/Routines/amp_agent_delete.sql /docker-entrypoint-initdb.d/31-amp_agent_delete.sql

Expand Down
77 changes: 0 additions & 77 deletions amp-sql/mysql/docker-compose.yml

This file was deleted.

Loading

0 comments on commit 0a4c240

Please sign in to comment.