Skip to content

JoelProminic/GrailsTableDuplicationExample

Repository files navigation

To run this application:

  1. Setup environment with Grails 3.2.9 and Java 8
  2. Create the following Postgres databases:
    • g3_humans
    • g3_dogs
    • g3_base
  3. Open grails-app/conf/application.yml and update dbUsername and dbPassword
  4. Run the application
  5. Check the tables in each database. You will see that the human, dog, and mammal tables appear in both the g3_humans and g3_dogs database. However, the Human domain class is only configured for the g3_humans database, and the Dog doman class is only configured for the g3_dogs database.

About

Simple project to demonstrate the table duplication issue I hae encountereed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published