GithubHelp home page GithubHelp logo

Comments (7)

Wisser avatar Wisser commented on August 23, 2024 2

@Dzeri96
In the new release, there is now a feature ("Data Model" -> "Generate DDL Script") to generate the "create table/view..." statements using Liquibase.

from jailer.

Wisser avatar Wisser commented on August 23, 2024 1

@Dzeri96 That's a really interesting idea. Thank you very much for it. I will definitely take a closer look at it!

from jailer.

Wisser avatar Wisser commented on August 23, 2024 1

There was a continuation of this topic here: #113
which finally resulted in release 16.1.3.

from jailer.

Wisser avatar Wisser commented on August 23, 2024

Creation scripts for the tables are currently not created automatically. Please use the appropriate tools of your DBMS for this.

The creation of DDL scripts is highly DBMS-specific and thus non-trivial. I do not believe that such a feature would work satisfactorily in Jailer. I would always resort to database on-board means. This is the only way to guarantee complete and error-free creation of all database objects.

from jailer.

MoritzTheile avatar MoritzTheile commented on August 23, 2024

Thanks for the quick response! Trying to find another way to dump the database with used tables only.

from jailer.

Dzeri96 avatar Dzeri96 commented on August 23, 2024

I know this issue is closed, but what about using Liquibase as a library to do the schema export (it has the generate-changelog command)? I've noticed that Liquibase does not do schema subsets well, because it always includes foreign key constraints, no matter if the referenced table is included or not. Having Jailer tell it exactly which tables it needs and then using its engine to export the schema seems like a great match.

from jailer.

Dzeri96 avatar Dzeri96 commented on August 23, 2024

I also opened a corresponding issue with liquibase, but no matter which way it goes, I still think integrating it into Jailer is a good idea. You could probably even offload some of the model analysis to it since it can talk to so many databases.

from jailer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.