{
  "renderings": {
    "fields": [
      {
        "name": "createdAt",
        "nameColumn": "createdAt",
        "type": "DATE",
        "primaryKey": false,
        "defaultValue": null
      },
      {
        "name": "updatedAt",
        "nameColumn": "updatedAt",
        "type": "DATE",
        "primaryKey": false,
        "defaultValue": null
      },
      {
        "name": "deletedAt",
        "nameColumn": "deletedAt",
        "type": "DATE",
        "primaryKey": false,
        "defaultValue": null
      },
      {
        "name": "testEnum",
        "nameColumn": "testEnum",
        "type": "ENUM('LEFT','RIGHT')"
      },
      {
        "name": "cacheVersion",
        "nameColumn": "cacheVersion",
        "type": "STRING",
        "primaryKey": false,
        "defaultValue": null
      },
      {
        "name": "sections",
        "nameColumn": "sections",
        "type": "JSONB",
        "primaryKey": false,
        "defaultValueBak": "Sequelize.literal('[{\"name\": \"Dashboard\", \"isVisible\": true}, {\"name\": \"Data\", \"isVisible\": true}]')",
        "defaultValue": [{"name": "Dashboard", "isVisible": true}, {"name": "Data", "isVisible": true}]
      },
      {
        "name": "collectionsPositions",
        "nameColumn": "collectionsPositions",
        "type": "ARRAY(DataTypes.INTEGER)",
        "primaryKey": false,
        "defaultValueBak": "Sequelize.literal('ARRAY[]')",
        "defaultValue": []
      }
    ],
    "references": [
      {
        "association": "belongsTo",
        "ref": "environments",
        "foreignKey": "environmentId",
        "foreignKeyName": "environmentIdUnconventionnalKey",
        "as": "environment"
      },
      {
        "association": "belongsTo",
        "ref": "teams",
        "foreignKey": "teamId",
        "foreignKeyName": "teamIdKey",
        "as": "team"
      },
      {
        "association": "belongsTo",
        "ref": "otherWithTarget",
        "foreignKey": "other",
        "foreignKeyName": "otherKey",
        "targetKey": "otherId",
        "as": "team2"
      },
      {
        "association": "belongsTo",
        "ref": "film",
        "foreignKey": "filmKeyName",
        "foreignKeyName": "filmKeyNameKey",
        "targetKey": "film_target_key",
        "as": "films"
      }
    ],
    "primaryKeys": ["id"],
    "options": {
      "hasIdColumn": true,
      "hasPrimaryKeys": true,
      "isJunction": false,
      "timestamps": true,
      "underscored": false
    }
  }
}
