andersb opened a new issue, #14618:
URL: https://github.com/apache/grails-core/issues/14618

   ### Task List
   
   - [X] Steps to reproduce provided
   - [ ] Stacktrace (if present) provided
   - [ ] Example that reproduces the problem uploaded to Github
   - [ ] Full description of the issue provided (see below)
   
   ### Steps to Reproduce
   
   1. Create one domain that implements MultiTenant and one that doesn't
   2. Run schema export
   
   
   ### Expected Behaviour
   
   Domains implementing the MultiTenant interface should be separated from 
those who doesn't.
   
   ### Actual Behaviour
   
   All domain end up in ddl.sql which makes it quite cumbersome to separate 
afterwards.
   
   
   ### Environment Information
   
   - **Grails Version:** 3.2.6
   - **GORM Version:**  6.1.1
   
   ### Comment
   
   In my case I have about 15 domains i main database and maybe 40+ in the 
tenant database.
   Doing a schema export will produce a single ddl.sql file with all domains 
listed alphabetically.
   I would think that the most common use case would be that you would be 
interested in separating the database ddl into their own files, for instance, 
ddl.sql and ddl-multitenant.sql.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to