Giter Site home page Giter Site logo

Migrations? about toucan HOT 4 CLOSED

himat avatar himat commented on May 14, 2024
Migrations?

from toucan.

Comments (4)

bolivier avatar bolivier commented on May 14, 2024

@himat I'm not a contributor, but I don't think this lib is scoped for migrations.

migratus is a library to handle migrations that works very well.

from toucan.

geraldodev avatar geraldodev commented on May 14, 2024

If I may https://gist.github.com/geraldodev/f4cc25376331ebd37d2eb8a4d3ccf8a9 mybatis migrations are sql based.
This simple babashka script is meant to be placed on the root of the project, it will default the migrations to WhereUPutTheScript/migrations.
it builds the classpath to invoke migrations, it downloads the dependencies (bb has a deps.edn like library)
./migrate.clj init
./migrate.clj status
./migrate.clj up
./migrate.clj down

from toucan.

tsmacdonald avatar tsmacdonald commented on May 14, 2024

I don't think this lib is scoped for migrations.

This is correct; toucan doesn't do anything for migrations. Metabase uses Liquibase, but Migratus or MyBatis (as suggested) or whatever should all work too.

from toucan.

camsaul avatar camsaul commented on May 14, 2024

Yup, I want to second https://github.com/yogthos/migratus -- I haven't used it personally yet but if I were to start a new project I think I'd give that a go

from toucan.

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.