All Versions
8
Latest Version
Avg Release Cycle
335 days
Latest Release
70 days ago

Changelog History

  • v0.3.2

    April 24, 2020
  • v0.2.3

    August 10, 2016

    🆕 New Features

    • 👍 Scala-Forklift now supports a new type of migration: APIMigration, where you can use the syntax from slick-migration-api. You can find an example in example/migrations/src_migrations/main/scala/3.scala:

      import slick.migration.api.TableMigrationimport slick.migration.api.H2Dialectimport com.liyaos.forklift.slick.APIMigrationimport datamodel.v2.schema.tables._object M3 { implicit val dialect = new H2DialectMyMigrations.migrations = MyMigrations.migrations :+ APIMigration( 3 )( TableMigration(Users). renameColumn(_.first, "firstname"). renameColumn(_.last, "lastname")) }

    To learn more about slick-migration-api, please check https://github.com/nafg/slick-migration-api

    🔄 Changes

    • 🚀 Scala-Forklift is now released under the Apache 2.0 license. (#26)

    👌 Improvements

    • ✂ Remove the hardcoded imports in a DBIO migration template generated by mg new command (#22 by @kshepard).
    • ➕ Add a test for mg new command (ce327c3).
    • ➕ Add a test for applying migrations after successfully applying all the migrations and then delete the database (4374392, d59f2b6).
  • v0.2.2

    July 30, 2016

    👌 Improvements

    • Modularize the code generator so it should be easier for users to make customizations. (72adb24, 84e32c1, f3fd099)
    • 🏗 Use build.sbt instead of project\build.scala in the example project (#20 by @DerLump).

    🐛 Bug Fixes

    • Migrations in MigrationSummary file is now properly ordered (#21 by @kshepard).
  • v0.2.2-slick3.2

    July 31, 2016

    If you are using Scala-Forklift with Slick 3.2.0, this is the version you need. For Slick 3.1.1, please use Scala-Forklift 0.2.2.

    👍 This is basically the same version as v0.2.2, except for a few changes made to support Slick 3.2.0-M1. The changes include:

    • 🗄 Stop using all the deprecated classes/methods in Slick 3.2.0-M1.
    • 🔄 Change the code generator's genCode method to work with the changed behavior of Slick profile's toString method.
  • v0.2.1

    February 27, 2016
  • v0.2.0

    February 27, 2016
  • v0.2.0-BETA

    October 15, 2015
  • v0.2.0-ALPHA

    September 11, 2015