Skip to content

Commit

Permalink
#2270 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DarioGii committed Dec 10, 2024
1 parent 947814a commit 96d04f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 102 deletions.
101 changes: 0 additions & 101 deletions scripts/init_db.sh

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/settings.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ system:
customHTMLFiles: false # enable to have files placed in /customFiles/templates override the existing template HTML files
tessdataDir: /usr/share/tessdata # path to the directory containing the Tessdata files. This setting is relevant for Windows systems. For Windows users, this path should be adjusted to point to the appropriate directory where the Tessdata files are stored.
enableAnalytics: undefined # set to 'true' to enable analytics, set to 'false' to disable analytics; for enterprise users, this is set to true
environmentName: postgres # set the default environment (e.g. 'postgres', 'mysql', 'oracle')
datasource:
url: jdbc:postgresql://localhost:5432/postgres
driverClassName: postgresql
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/setup_pg_admin_user.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ CREATE SCHEMA IF NOT EXISTS stirling_pdf AUTHORIZATION admin;
GRANT ALL PRIVILEGES ON DATABASE postgres TO admin;
GRANT ALL PRIVILEGES ON SCHEMA stirling_pdf TO admin;
ALTER DATABASE postgres SET search_path TO stirling_pdf;
ALTER DATABASE postgres OWNER TO admin;
ALTER TABLE authorities OWNER TO admin;
ALTER TABLE persistent_logins OWNER TO admin;
ALTER TABLE sessions OWNER TO admin;
Expand Down

0 comments on commit 96d04f2

Please sign in to comment.