Code Monkey home page Code Monkey logo

Comments (1)

nafg avatar nafg commented on June 2, 2024

Could you send a PR?

Notes:

  1. Technically Forklift is probably still usable. The PRs aren't that important AFAIK. You may have to override sbt eviction errors but it should work. That said, I've never used it and don't know how many people have.
  2. slick-migration-api is not a migration tool, but a way to express a migration action in terms of slick schemas. I don't recommend using it for an actual migration strategy, except with Forklift or something like it, because it creates a dependency cycle between the code and database that can result in being unable to compile the codebase. I don't have time to elaborate right now.
  3. Flyway works perfectly fine with Slick, and so does flyway-sbt, even with current versions of Flyway. (One project of mine uses it and is on Flyway 9.3.1. I haven't checked 9.4.0 but it doesn't sound like you mean something broke that recently.) So should any other migration tool, like Liquibase or Play evolutions. For the most part migrations should be .sql files. But for code migrations I use the following to make it easy to work with Slick (maybe I should publish it as a library): https://gist.github.com/nafg/25b0cf942fbfe160e49b4939e1a61552

I assume the page you're talking about is https://scala-slick.org/doc/stable/migrations.html. A the bottom it says

The source code for this page can be found here.

You can click that link and edit the page in the browser to send a PR.

from slick.

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.