forest-express-sequelize
forest-express-sequelize copied to clipboard
Not correct display of default values for a field of type JSONB
It is necessary to have a field in model with type JSONB and a default value for it.
Expected behavior
- Click the create record button
- Cancel the creation of the record
- Try creating the record again
- See that all default fields with the JSONB type are filled in according to the model description in default block for JSONB field
Actual behavior
- Click the create record button
- Cancel the creation of the record
- Try creating the record again
- See that all default fields with the JSONB type are not filled in according to the model description in default block for JSONB field
Context
- Package Version: 8.5.2
- Express Version: 4.17.3
- Sequelize Version: 6.17.0
- Database Dialect: SQL
- Database Version:
- Postgres: 12
- pg: 8.7.3