From b7aa6103c59456b4452ad7d752dbe710a5a4b065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Greg=C3=B3rio?= Date: Fri, 13 Apr 2018 17:25:52 -0300 Subject: [PATCH] Update README.md --- README.md | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index eafc621..4b74342 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ The core: - Apache Delta Spike Data Module for database querying and repositories functionality - Apache Shiro 1.4 through [ShiroEE](https://github.com/arthurgregorio/shiro-ee) for Security with LDAP/AD and database authentication support - Maven for building and dependency management +- Flyway for database migrations The extras: @@ -88,26 +89,10 @@ CREATE USER sa_library WITH NOCREATEROLE NOREPLICATION ENCRYPTED PASSWORD 'sa_library'; - --- the database -CREATE DATABASE library - WITH - OWNER = sa_library - ENCODING = 'UTF8' - LC_COLLATE = 'en_US.utf8' - LC_CTYPE = 'en_US.utf8' - TABLESPACE = pg_default - CONNECTION LIMIT = -1; - --- the schemes -CREATE SCHEMA audit - AUTHORIZATION sa_library; -CREATE SCHEMA security - AUTHORIZATION sa_library; -CREATE SCHEMA security_audit - AUTHORIZATION sa_library; ``` +The tables and the initial data (default user, group and authorizations) will be created by Flyway with the migrations strategy. + ## How to: run on IDE Just import the maven project and deploy to you already configured Wildfly server. Remember to first configure the infrastructure.