database - How do you share diagrams in Valentina Studio (DB) -


i'm getting familiar valentina studio. seems useful tool--with easy drag/drop diagrams stay in sync actual schemas.

in particular case, i'm using postgres. what's not clear me is, where diagrams stored, , how share them?

afaikt export mechanism diagram-by-diagram. nightmare share other developers if create couple dozen diagrams. @ same time, of diagrams magically appear every time start software. haven't figured out if they're being stored in local filesystem somewhere or buried in sql server somewhere. far physical , google searches of turned nothing.

the available info on product pretty bleak, appreciated.

ok, here's current, hacky solution.

each valentina studio connection results in diagrams data file, in subdirectory of:

~/.local/share/paradigma\ software/valentina\ studio/localdata/foreign/ 

so, copied file (data.conf) directory of source code repo , kept valentina studio happy symlink.

here's how new developer gets access diagrams:

  1. create new connection database (psql in case)

    • this results in directory containing diagrams data file, such as:

      ~/.local/share/paradigma\ software/valentina\ studio/localdata/foreign/localhost%2fpostgres%2f5432%2f%2f%2f%2f0%2fmydb 
  2. close valentina studio

  3. delete existing diagrams config directory:

    rm -rf ~/.local/share/paradigma\ software/valentina\ studio/localdata/foreign/localhost%2fpostgres%2f5432%2f%2f%2f%2f0%2fmydb 
  4. add symlink pointing source-controlled copy of diagrams data file:

    ln -s /my/source/code/valentina-diagrams-data ~/.local/share/paradigma\ software/valentina\ studio/localdata/foreign/localhost%2fpostgres%2f5432%2f%2f%2f%2f0%2fmydb 

now changes diagrams affect source-controlled copy.

fortunately, data.conf seems contain diagram data far, knows else might show in there down line.

i expect same approach work on windows using directory junctions.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -