KenjiOhtsuka / harmonica_test

Test project for Harmonica, https://github.com/KenjiOhtsuka/harmonica , with real databases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Harmonica Test

This project is fot the test of Harmonica, with actual DBMS.

Database Preparation

with user developer and the password developer.

PostgreSQL

CREATE DATABASE harmonica_test;

MySQL

CREATE USER developer@localhost identified by 'developer';
CREATE DATABASE harmonica_test;
GRANT ALL PRIVILEGES ON harmonica_test.* TO developer@localhost;

How to Test

Execute the all following scripts and check the databases.

For PostgreSQL

./gradlew jarmonicaUp
./gradlew jarmonicaDown

For MySQL

./gradlew jarmonicaUp -Penv=MySql
./gradlew jarmonicaDown

For SQLite

./gradlew jarmonicaUp -Penv=Sqlite
./gradlew jarmonicaDown -Penv=SQLite

About

Test project for Harmonica, https://github.com/KenjiOhtsuka/harmonica , with real databases.


Languages

Language:Kotlin 100.0%