Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
84ba74bd
Unverified
Commit
84ba74bd
authored
6 years ago
by
Cam Saul
Browse files
Options
Downloads
Patches
Plain Diff
Code cleanup / indentation fixes
parent
4a757af2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/metabase/driver/postgres.clj
+2
-2
2 additions, 2 deletions
src/metabase/driver/postgres.clj
src/metabase/driver/sql_jdbc/sync.clj
+1
-1
1 addition, 1 deletion
src/metabase/driver/sql_jdbc/sync.clj
with
3 additions
and
3 deletions
src/metabase/driver/postgres.clj
+
2
−
2
View file @
84ba74bd
...
...
@@ -228,13 +228,13 @@
"inet"
:type/IPAddress
nil
))
(
def
^
:private
^
:const
ssl-params
(
def
^
:private
ssl-params
"Params to include in the JDBC connection spec for an SSL connection."
{
:ssl
true
:sslmode
"require"
:sslfactory
"org.postgresql.ssl.NonValidatingFactory"
})
; HACK Why enable SSL if we disable certificate validation?
(
def
^
:private
^
:const
disable-ssl-params
(
def
^
:private
disable-ssl-params
"Params to include in the JDBC connection spec to disable SSL."
{
:sslmode
"disable"
})
...
...
This diff is collapsed.
Click to expand it.
src/metabase/driver/sql_jdbc/sync.clj
+
1
−
1
View file @
84ba74bd
...
...
@@ -149,7 +149,7 @@
(
for
[{
database-type
:type_name
column-name
:column_name
remarks
:remarks
}
(
jdbc/metadata-result
(
.getColumns
metadata
db-name-or-nil
schema
table-name
nil
))]
(
.getColumns
metadata
db-name-or-nil
schema
table-name
nil
))]
(
merge
{
:name
column-name
:database-type
database-type
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment