Book a Demo

Author Topic: Define a column type as JSONB/JSON in Data Model for PostGreSQL DB  (Read 4897 times)

lpraba.23

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hello

I want to define a column type as JSON or JSONB in data model.

Currently for Psotgresql the data type is not available in EA in the drop down.

Does anyone know how to get that data type to be displayed in EA tool ?

This is for PostGreSQL database.

Thanks

Arshad

  • EA User
  • **
  • Posts: 292
  • Karma: +21/-1
    • View Profile
Re: Define a column type as JSONB/JSON in Data Model for PostGreSQL DB
« Reply #1 on: January 14, 2019, 08:31:13 pm »
Hi

You can define and add a new datatype for Postgresql.
Navigate to Configure > Reference Data > Settings > Database Datatypes

Choose Postgresql and add a type for JSON or JSONB (like below).  Once added can be used in defining columns



For more details refer Sparx help
https://sparxsystems.com/enterprise_architect_user_guide/14.0/model_domains/dbmsdatatypes.html


HTH
Arshad
« Last Edit: January 14, 2019, 08:35:09 pm by Arshad »