extension and schema created for every table migrated
gioppoluca opened this issue · 3 comments
gioppoluca commented
Steps to reproduce
- Migrating tables
- activating debug to check commands send to Db
- for every table the command:
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";CREATE SCHEMA "micadoapp"
is repeated
Current Behavior
The migration repeats the create extension and the create schema for all the tables.
Expected Behavior
Extension creation and schema creation should be done only one time.
Array of schemas should be collected and managed at the beginning, created if needed (ONLY) and than not repeated.
dhmlau commented
@gioppoluca, could you please provide a sample app to help us reproduce this problem? Thanks.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
dhmlau commented
Closing due to inactivity.