Share datagrip project

Is it possible to share a datagrip project with multiple users? I've looked around at adding the VCS integration plugins (git specifically) but I'm having trouble with the following details:

  • Are scratches committed? If so where? If not how do I add sql files to the repo?
  • Are data sources committed? Is there any way to include credentials in the commit?

Any help you can give is much appreciated!

Thanks,

-David Lumpkin

1 comment

Hello David, sorry for delayed answer.

>Are scratches committed? If so where? If not how do I add sql files to the repo?

Yes, they are stored under DataGrip configuration directory in the scratches sub-folder. You can also open that directory via scratsh file's context menu -> Show in Explorer (Reveal in Finder for OS X) action.

>Are data sources committed? Is there any way to include credentials in the commit?

You can share "dataSources.ids" and "dataSources.xml" files which are located under ".idea" subdirectory in the project folder. Credetials info is stored in "dataSources.local.xml", but that information is generally is not designed for sharing. We have related request about sharing it: https://youtrack.jetbrains.com/issue/DBE-2083https://youtrack.jetbrains.com/issue/IDEA-125019

0

Please sign in to leave a comment.