forest-express-sequelize icon indicating copy to clipboard operation
forest-express-sequelize copied to clipboard

Not correct display of default values for a field of type JSONB

Open tdlbw opened this issue 3 years ago • 0 comments

It is necessary to have a field in model with type JSONB and a default value for it.

Expected behavior

  1. Click the create record button
  2. Cancel the creation of the record
  3. Try creating the record again
  4. 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

  1. Click the create record button
  2. Cancel the creation of the record
  3. Try creating the record again
  4. 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

tdlbw avatar Jul 27 '22 12:07 tdlbw