-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Package
- db
Describe the bug
If a field is added to an entitiy and at the same time permissions are added, one fails on startup, because gql views are created before typeorm synchronizes the database. Ergo, column is missing during view creation.
To Reproduce
Steps to reproduce the behavior:
- Add a field to an entitiy
- Add this field to createViews permissions
Expected behavior
Should not fail. (1) typeorm migrations (2) typeorm syncronization (3) graphql view and trigger migrations
https://github.com/fullstack-build/fullstack-one/blob/master/packages/db/lib/index.ts#L67
Reactions are currently unavailable