Skip to content

Latest commit

 

History

History
executable file
·
31 lines (23 loc) · 680 Bytes

README.md

File metadata and controls

executable file
·
31 lines (23 loc) · 680 Bytes

java-cli-buildr-postgresql-view

Description

Creates a small database table called dog. This table, dog, has been normalized to 3NF. Two new tables have been added, breedLookup and colorLookup.

Creates a new table dog_expanded that joins dog, breedLookup and colorLookup.

Added nonclustered indexes on dog.breedId and dog.colorId. Turned dog_expanded into a view with an implicit index on dog_expanded.id.

Tech stack

  • java
  • buildr
    • log4j
    • postgres driver

Docker stack

  • postgresql:alpine
  • vanto/apache-buildr:latest-jruby-jdk8

To run

sudo ./install.sh -u

To stop

sudo ./install.sh -d

For help

sudo ./install.sh -h