HH db generation
Features:
- Liquibase
- Indexes
- User generation
Steps:
- DB creating. By default, PostgreSQL is configured, but driver can be changed. Example for creating PostgreSQL DB from psql:
postgres=# create database hh;
postgres=# create user statuser with encrypted password '12345';
postgres=# grant all privileges on database hh to statuser;
For migration script PostgreSQL driver is needed. Load, please, version 42.3.1: https://mvnrepository.com/artifact/org.postgresql/postgresql/42.3.1
-
Update db scema and data liquibase update
-
Delete db scema and data liquibase rollbackCount 2
The task from hh-interview that is connected with current task: