Skip to content

Releases: KenjiOhtsuka/harmonica

Remove Exposed

05 Dec 07:59
Compare
Choose a tag to compare

Changes

  • Contain H2 adapter
    • Thank you, @vorotynsky . I was not so familiar with H2 database. It was very helpful.
  • Remove Exposed
    • removing exposed lib may be a big change. but to remove the dependency problem, I thought removing it was a solution.

I was too busy to develop this library. I was so sorry.

Add big integer column support

14 Jun 12:35
Compare
Choose a tag to compare

Now, we can add big integer column with addBigIntegerColumn function

#143

Add Orcle DB Adapter

12 Aug 15:04
Compare
Choose a tag to compare

Now, Harmonica can be used with Oracle database.

Drop Table in Oracle DB

04 Aug 22:35
2d8a552
Compare
Choose a tag to compare

Made it available to execute Drop Table in Oracle Database.

Oracle DB Migration is Available

04 Aug 13:58
4b302b0
Compare
Choose a tag to compare

From this release, Oracle DB migration is available.

As for now, creating a table is available.

Upgrade Kotlin and Gradle Version

28 Jul 03:32
Compare
Choose a tag to compare

Kotlin 1.3.41
Gradle 5.5.1

SQL option

06 May 07:40
2c2c00f
Compare
Choose a tag to compare

Now we can use SQL option in migration.

jarmonicaUp

To show SQLs for migrations, please add -Psql option.

./gradlew jarmonicaUp -Psql

To show SQLs without real migrations, please add -Psql=review option.

./gradlew jarmonicaUp -Psql=review

jarmonicaDown

To show SQLs for migration, please add -Psql option.

./gradlew jarmonicaDown -Psql

Remove useless println

27 Apr 10:40
Compare
Choose a tag to compare
1.1.20

fis version

add option to handle table names like Rails, add jarmonicaVersion

27 Apr 10:30
e0d0182
Compare
Choose a tag to compare

handle table names like Rails

(related to #113 )

If you configure as follow, refer method generates reference column named like tablename_id .

extensions.extraProperties["tableNamePluralization"] = true

Document: https://github.com/KenjiOhtsuka/harmonica/wiki/Configuration

jarmonicaVersion

Now you can check where the migration processed, namely current migration version.

./gradlew jarmonicaVersion

Output:

Version: 20180714192339748

Now we can object for DbConfig

10 Feb 09:09
c2a69eb
Compare
Choose a tag to compare

Now we can object for DbConfig. Of course we can class too.

The following config object and class are both available, for Jarmonica commands.

package com.improve_future.harmonica_test.jarmonica.config

import com.improve_future.harmonica.core.DbConfig
import com.improve_future.harmonica.core.Dbms

object Sqlite : DbConfig({
    dbms = Dbms.SQLite
    dbName = "harmonica_test"
})
package com.improve_future.harmonica_test.jarmonica.config

import com.improve_future.harmonica.core.DbConfig
import com.improve_future.harmonica.core.Dbms

class Sqlite : DbConfig({
    dbms = Dbms.SQLite
    dbName = "harmonica_test"
})