{
  "TypeUpdate": {
    "attributes": {
      "code": {
        "name": "code",
        "dataType": "NVARCHAR",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "autoIncrement": false,
        "columnName": "code"
      },
      "lastUpdated": {
        "name": "lastUpdated",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "lastUpdated"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "primaryKeyField": "code",
    "indexes": [],
    "modelName": "typeUpdate",
    "tableName": "typeUpdate",
    "modelAttributes": {
      "code": true,
      "lastUpdated": true,
      "cid": true,
      "createdAt": true
    },
    "columnNames": {
      "code": true,
      "lastUpdated": true,
      "cid": true,
      "createdAt": true
    }
  },
  "Address": {
    "tableName": "address",
    "attributes": {
      "address": {
        "name": "address",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "4000",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "address"
      },
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "authorsMailingAddresses",
        "referenceName": "Author",
        "referenceKey": "MailingAddress_id"
      },
      {
        "isPlural": true,
        "name": "authorsPhysicalAddresses",
        "referenceName": "Author",
        "referenceKey": "PhysicalAddress_id"
      }
    ],
    "primaryKeyField": "id",
    "indexes": [],
    "modelName": "address",
    "modelAttributes": {
      "address": true,
      "id": true,
      "cid": true,
      "createdAt": true,
      "authorsMailingAddresses": true,
      "authorsMailingAddressesCursor": true,
      "authorsPhysicalAddresses": true,
      "authorsPhysicalAddressesCursor": true
    },
    "columnNames": {
      "address": true,
      "id": true,
      "cid": true,
      "createdAt": true
    }
  },
  "Author": {
    "tableName": "author",
    "attributes": {
      "HomePhone_id": {
        "name": "homePhoneId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Phone",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "homePhoneId",
        "fkName": "author_homePhone_fk",
        "relAttrName": "homePhone"
      },
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "isSystemType": {
        "name": "isSystemType",
        "dataType": "TINYINT",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "isSystemType"
      },
      "MailingAddress_id": {
        "name": "mailingAddressId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Address",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "mailingAddressId",
        "fkName": "author_mailingAddress_fk",
        "relAttrName": "mailingAddress"
      },
      "name": {
        "name": "name",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "columnName": "name"
      },
      "PersonalCellPhone_id": {
        "name": "personalCellPhoneId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Phone",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "personalCellPhoneId",
        "fkName": "author_personalCellPhone_fk",
        "relAttrName": "personalCellPhone"
      },
      "Phone_id": {
        "name": "phoneId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Phone",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "phoneId",
        "fkName": "author_phone_fk",
        "relAttrName": "phone"
      },
      "PhysicalAddress_id": {
        "name": "physicalAddressId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Address",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "physicalAddressId",
        "fkName": "author_physicalAddress_fk",
        "relAttrName": "physicalAddress"
      },
      "WorkCellPhone_id": {
        "name": "workCellPhoneId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Phone",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "workCellPhoneId",
        "fkName": "author_workCellPhone_fk",
        "relAttrName": "workCellPhone"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "posts",
        "referenceName": "Post",
        "referenceKey": "Author_id",
        "comment": "An author can have many posts"
      },
      {
        "isPlural": true,
        "name": "authorDemographicalMetaInformationEntryLinks",
        "referenceName": "AuthorDemographicalMetaInformationEntryLink",
        "referenceKey": "Author_id"
      }
    ],
    "primaryKeyField": "id",
    "indexes": [
      {
        "attributes": ["HomePhone_id"],
        "name": "author_homePhone_ix",
        "columns": ["homePhoneId"]
      },
      {
        "attributes": ["MailingAddress_id"],
        "name": "author_mailingAddress_ix",
        "columns": ["mailingAddressId"]
      },
      {
        "attributes": ["PersonalCellPhone_id"],
        "name": "author_personalCellPhone_ix",
        "columns": ["personalCellPhoneId"]
      },
      {
        "attributes": ["Phone_id"],
        "name": "author_phone_ix",
        "columns": ["phoneId"]
      },
      {
        "attributes": ["PhysicalAddress_id"],
        "name": "author_physicalAddress_ix",
        "columns": ["physicalAddressId"]
      },
      {
        "attributes": ["WorkCellPhone_id"],
        "name": "author_workCellPhone_ix",
        "columns": ["workCellPhoneId"]
      }
    ],
    "modelName": "author",
    "modelAttributes": {
      "homePhoneId": true,
      "id": true,
      "isSystemType": true,
      "mailingAddressId": true,
      "name": true,
      "personalCellPhoneId": true,
      "phoneId": true,
      "physicalAddressId": true,
      "workCellPhoneId": true,
      "cid": true,
      "createdAt": true,
      "homePhone": true,
      "mailingAddress": true,
      "personalCellPhone": true,
      "phone": true,
      "physicalAddress": true,
      "workCellPhone": true,
      "posts": true,
      "postsCursor": true,
      "authorDemographicalMetaInformationEntryLinks": true,
      "authorDemographicalMetaInformationEntryLinksCursor": true
    },
    "columnNames": {
      "homePhoneId": true,
      "id": true,
      "isSystemType": true,
      "mailingAddressId": true,
      "name": true,
      "personalCellPhoneId": true,
      "phoneId": true,
      "physicalAddressId": true,
      "workCellPhoneId": true,
      "cid": true,
      "createdAt": true
    }
  },
  "Post": {
    "tableName": "post",
    "attributes": {
      "Author_id": {
        "name": "authorId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "comment": "The author of this post",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Author",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "referenceShouldCascade": true,
        "columnName": "authorId",
        "fkName": "post_author_fk",
        "relAttrName": "author"
      },
      "body": {
        "name": "body",
        "dataType": "TEXT",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "comment": "The post body should contain the important text in the post.",
        "nullable": true,
        "defaultValue": "",
        "columnName": "body"
      },
      "IconTag_id": {
        "name": "iconTagId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Tag",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "iconTagId",
        "fkName": "post_iconTag_fk",
        "relAttrName": "iconTag"
      },
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "comment": "unique identifier",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "Keyword_id": {
        "name": "keywordId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Keyword",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": false,
        "columnName": "keywordId",
        "fkName": "post_keyword_fk",
        "relAttrName": "keyword"
      },
      "likes": {
        "name": "likes",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "likes"
      },
      "postedOn": {
        "name": "postedOn",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "postedOn"
      },
      "title": {
        "name": "title",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "title"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "comments",
        "referenceName": "Comment",
        "referenceKey": "Post_id"
      },
      {
        "isPlural": false,
        "name": "bodyPreview",
        "isReadOnly": true,
        "referenceName": "BodyPreview",
        "referenceKey": "postId"
      }
    ],
    "comment": "A blog post",
    "primaryKeyField": "id",
    "indexes": [
      {
        "attributes": ["Author_id"],
        "name": "post_author_ix",
        "columns": ["authorId"]
      },
      {
        "attributes": ["IconTag_id"],
        "name": "post_iconTag_ix",
        "columns": ["iconTagId"]
      },
      {
        "attributes": ["Keyword_id"],
        "name": "post_keyword_ix",
        "columns": ["keywordId"]
      }
    ],
    "modelName": "post",
    "modelAttributes": {
      "authorId": true,
      "body": true,
      "iconTagId": true,
      "id": true,
      "keywordId": true,
      "likes": true,
      "postedOn": true,
      "title": true,
      "cid": true,
      "createdAt": true,
      "author": true,
      "iconTag": true,
      "keyword": true,
      "comments": true,
      "commentsCursor": true,
      "bodyPreview": true
    },
    "columnNames": {
      "authorId": true,
      "body": true,
      "iconTagId": true,
      "id": true,
      "keywordId": true,
      "likes": true,
      "postedOn": true,
      "title": true,
      "cid": true,
      "createdAt": true
    }
  },
  "AuthorDemographicalMetaInformationEntryLink": {
    "tableName": "athrDmgrphclMtInfrmtnEntr",
    "attributes": {
      "Author_id": {
        "name": "authorId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "referenceName": "Author",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "authorId",
        "fkName": "athrDmgrphcl_athr_fk",
        "relAttrName": "author"
      },
      "AuthorDemographicalMetaInformationEntry_code": {
        "name": "authorDemographicalMetaInformationEntryCode",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "50",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "referenceName": "AuthorDemographicalMetaInformationEntry",
        "referenceKey": "code",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "athrDmgrphclMtInfrmtnEntr",
        "fkName": "athrDmgrphcl_athrDmgrphcl_fk",
        "relAttrName": "authorDemographicalMetaInformationEntry"
      },
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "linkHistories",
        "referenceName": "LinkHistory",
        "referenceKey": "AuthorDemographicalMetaInformationEntryLink_id"
      }
    ],
    "primaryKeyField": "id",
    "indexes": [
      {
        "attributes": ["Author_id"],
        "name": "athrDmgrphcl_athr_ix",
        "columns": ["authorId"]
      },
      {
        "attributes": ["AuthorDemographicalMetaInformationEntry_code"],
        "name": "athrDmgrphcl_athrDmgrphc_ix",
        "columns": ["athrDmgrphclMtInfrmtnEntr"]
      }
    ],
    "modelName": "authorDemographicalMetaInformationEntryLink",
    "modelAttributes": {
      "authorId": true,
      "authorDemographicalMetaInformationEntryCode": true,
      "id": true,
      "cid": true,
      "createdAt": true,
      "author": true,
      "authorDemographicalMetaInformationEntry": true,
      "linkHistories": true,
      "linkHistoriesCursor": true
    },
    "columnNames": {
      "authorId": true,
      "athrDmgrphclMtInfrmtnEntr": true,
      "id": true,
      "cid": true,
      "createdAt": true
    }
  },
  "AuthorDemographicalMetaInformationEntry": {
    "tableName": "athrDmgrphclMtInfrmtnKhs6",
    "attributes": {
      "code": {
        "name": "code",
        "dataType": "VARCHAR",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "50",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "columnName": "code"
      },
      "metainfo": {
        "name": "metainfo",
        "dataType": "ORDDOC",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "metainfo"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "authorDemographicalMetaInformationEntryLinks",
        "referenceName": "AuthorDemographicalMetaInformationEntryLink",
        "referenceKey": "AuthorDemographicalMetaInformationEntry_code"
      }
    ],
    "primaryKeyField": "code",
    "indexes": [],
    "modelName": "authorDemographicalMetaInformationEntry",
    "modelAttributes": {
      "code": true,
      "metainfo": true,
      "cid": true,
      "createdAt": true,
      "authorDemographicalMetaInformationEntryLinks": true,
      "authorDemographicalMetaInformationEntryLinksCursor": true
    },
    "columnNames": {
      "code": true,
      "metainfo": true,
      "cid": true,
      "createdAt": true
    }
  },
  "TagType": {
    "tableName": "tagType",
    "attributes": {
      "code": {
        "name": "code",
        "dataType": "VARCHAR",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "50",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "columnName": "code"
      },
      "name": {
        "name": "name",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "name"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "tags",
        "referenceName": "Tag",
        "referenceKey": "TagType_code"
      }
    ],
    "primaryKeyField": "code",
    "indexes": [],
    "modelName": "tagType",
    "modelAttributes": {
      "code": true,
      "name": true,
      "cid": true,
      "createdAt": true,
      "tags": true,
      "tagsCursor": true
    },
    "columnNames": {
      "code": true,
      "name": true,
      "cid": true,
      "createdAt": true
    }
  },
  "Comment": {
    "tableName": "comment",
    "attributes": {
      "content": {
        "name": "content",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "4000",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "content"
      },
      "createdOn": {
        "name": "createdOn",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "createdOn"
      },
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "Post_id": {
        "name": "postId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "referenceName": "Post",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "postId",
        "fkName": "comment_post_fk",
        "relAttrName": "post"
      },
      "votes": {
        "name": "votes",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "votes"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [],
    "primaryKeyField": "id",
    "indexes": [
      {
        "attributes": ["Post_id"],
        "name": "comment_post_ix",
        "columns": ["postId"]
      }
    ],
    "modelName": "comment",
    "modelAttributes": {
      "content": true,
      "createdOn": true,
      "id": true,
      "postId": true,
      "votes": true,
      "cid": true,
      "createdAt": true,
      "post": true
    },
    "columnNames": {
      "content": true,
      "createdOn": true,
      "id": true,
      "postId": true,
      "votes": true,
      "cid": true,
      "createdAt": true
    }
  },
  "Tag": {
    "tableName": "tag",
    "attributes": {
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "isSystemTag": {
        "name": "isSystemTag",
        "dataType": "TINYINT",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "isSystemTag"
      },
      "name": {
        "name": "name",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "name"
      },
      "TagType_code": {
        "name": "tagTypeCode",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "50",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "TagType",
        "referenceKey": "code",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "tagTypeCode",
        "fkName": "tag_tagType_fk",
        "relAttrName": "tagType"
      },
      "icon": {
        "name": "icon",
        "dataType": "TEXT",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "icon"
      },
      "text": {
        "name": "text",
        "dataType": "TEXT",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "text"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "iconTagPosts",
        "referenceName": "Post",
        "referenceKey": "IconTag_id"
      },
      {
        "isPlural": true,
        "name": "textTagKeywords",
        "referenceName": "Keyword",
        "referenceKey": "TextTag_id"
      }
    ],
    "primaryKeyField": "id",
    "indexes": [
      {
        "attributes": ["TagType_code"],
        "name": "tag_tagType_ix",
        "columns": ["tagTypeCode"]
      }
    ],
    "modelName": "tag",
    "modelAttributes": {
      "id": true,
      "isSystemTag": true,
      "name": true,
      "tagTypeCode": true,
      "icon": true,
      "text": true,
      "cid": true,
      "createdAt": true,
      "tagType": true,
      "iconTagPosts": true,
      "iconTagPostsCursor": true,
      "textTagKeywords": true,
      "textTagKeywordsCursor": true
    },
    "columnNames": {
      "id": true,
      "isSystemTag": true,
      "name": true,
      "tagTypeCode": true,
      "icon": true,
      "text": true,
      "cid": true,
      "createdAt": true
    }
  },
  "Keyword": {
    "tableName": "keyword",
    "attributes": {
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "name": {
        "name": "name",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "name"
      },
      "TextTag_id": {
        "name": "textTagId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "referenceName": "Tag",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "textTagId",
        "fkName": "keyword_textTag_fk",
        "relAttrName": "textTag"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": false,
        "name": "post",
        "referenceName": "Post",
        "referenceKey": "Keyword_id"
      }
    ],
    "primaryKeyField": "id",
    "indexes": [
      {
        "attributes": ["TextTag_id"],
        "name": "keyword_textTag_ix",
        "columns": ["textTagId"]
      }
    ],
    "modelName": "keyword",
    "modelAttributes": {
      "id": true,
      "name": true,
      "textTagId": true,
      "cid": true,
      "createdAt": true,
      "textTag": true,
      "post": true
    },
    "columnNames": {
      "id": true,
      "name": true,
      "textTagId": true,
      "cid": true,
      "createdAt": true
    }
  },
  "Phone": {
    "tableName": "phone",
    "attributes": {
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "phoneNumber": {
        "name": "phoneNumber",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "phoneNumber"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [
      {
        "isPlural": true,
        "name": "authors",
        "referenceName": "Author",
        "referenceKey": "Phone_id"
      },
      {
        "isPlural": true,
        "name": "cellPhoneAuthorsPersonalCellPhones",
        "referenceName": "Author",
        "referenceKey": "PersonalCellPhone_id"
      },
      {
        "isPlural": true,
        "name": "cellPhoneAuthorsWorkCellPhones",
        "referenceName": "Author",
        "referenceKey": "WorkCellPhone_id"
      },
      {
        "isPlural": true,
        "name": "homePhoneAuthors",
        "referenceName": "Author",
        "referenceKey": "HomePhone_id"
      }
    ],
    "primaryKeyField": "id",
    "indexes": [],
    "modelName": "phone",
    "modelAttributes": {
      "id": true,
      "phoneNumber": true,
      "cid": true,
      "createdAt": true,
      "authors": true,
      "authorsCursor": true,
      "cellPhoneAuthorsPersonalCellPhones": true,
      "cellPhoneAuthorsPersonalCellPhonesCursor": true,
      "cellPhoneAuthorsWorkCellPhones": true,
      "cellPhoneAuthorsWorkCellPhonesCursor": true,
      "homePhoneAuthors": true,
      "homePhoneAuthorsCursor": true
    },
    "columnNames": {
      "id": true,
      "phoneNumber": true,
      "cid": true,
      "createdAt": true
    }
  },
  "LinkHistory": {
    "tableName": "linkHistory",
    "attributes": {
      "id": {
        "name": "id",
        "dataType": "NUMERIC",
        "isPrimaryKey": true,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "autoIncrement": true,
        "columnName": "id"
      },
      "category": {
        "name": "category",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "category"
      },
      "transactionDetails": {
        "name": "transactionDetails",
        "dataType": "ORDDOC",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "transactionDetails"
      },
      "AuthorDemographicalMetaInformationEntryLink_id": {
        "name": "authorDemographicalMetaInformationEntryLinkId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": false,
        "defaultValue": "",
        "referenceName": "AuthorDemographicalMetaInformationEntryLink",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": true,
        "columnName": "athrDmgrphclMtInfrmtnEntr",
        "fkName": "lnkHstry_athrDmgrphclMt_fk",
        "relAttrName": "authorDemographicalMetaInformationEntryLink"
      },
      "cid": {
        "name": "cid",
        "dataType": "VARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "500",
        "precision": "",
        "scale": "",
        "nullable": true,
        "unique": true,
        "columnName": "cid"
      },
      "createdAt": {
        "name": "createdAt",
        "dataType": "Timestamp",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "columnName": "createdAt"
      }
    },
    "associations": [],
    "primaryKeyField": "id",
    "indexes": [
      {
        "attributes": ["AuthorDemographicalMetaInformationEntryLink_id"],
        "name": "linkHistory_athrDmgrphclM_ix",
        "columns": ["athrDmgrphclMtInfrmtnEntr"]
      }
    ],
    "modelName": "linkHistory",
    "modelAttributes": {
      "id": true,
      "category": true,
      "transactionDetails": true,
      "authorDemographicalMetaInformationEntryLinkId": true,
      "cid": true,
      "createdAt": true,
      "authorDemographicalMetaInformationEntryLink": true
    },
    "columnNames": {
      "id": true,
      "category": true,
      "transactionDetails": true,
      "athrDmgrphclMtInfrmtnEntr": true,
      "cid": true,
      "createdAt": true
    }
  },
  "BodyPreview": {
    "type": "view",
    "tableName": "bodyPreview",
    "columns": {
      "postId": {
        "relatedKeyPath": "Post.id",
        "oneToOne": true,
        "relAttrName": "post"
      },
      "bodyPreview": { "dataType": "TEXT" },
      "title": {
        "relatedAttributePath": "Post.title"
      }
    },
    "primaryKeyField": "postId",
    "sql": {
      "pg": "\n            SELECT \n                \"id\" as \"postId\",\n                \"title\" as \"title\",\n                substr(\"body\", 0, 95) ||\n                CASE WHEN length(\"body\") > 95 \n                    THEN '...'\n                    ELSE ''\n                END as \"bodyPreview\"\n            FROM\n                \"post\"\n        "
    },
    "attributes": {
      "postId": {
        "name": "postId",
        "dataType": "NUMERIC",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "isRelatedKey": true,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "referenceName": "Post",
        "referenceKey": "id",
        "referenceIdentifying": false,
        "referenceIsPlural": false,
        "columnName": "postId",
        "relAttrName": "post"
      },
      "bodyPreview": {
        "name": "bodyPreview",
        "dataType": "TEXT",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "bodyPreview"
      },
      "title": {
        "name": "title",
        "dataType": "NVARCHAR",
        "isPrimaryKey": false,
        "isForeignKey": false,
        "size": "400",
        "precision": "",
        "scale": "",
        "nullable": true,
        "defaultValue": "",
        "columnName": "title"
      }
    },
    "associations": [],
    "modelName": "bodyPreview",
    "modelAttributes": {
      "postId": true,
      "post": true,
      "bodyPreview": true,
      "title": true
    },
    "columnNames": {
      "postId": true,
      "bodyPreview": true,
      "title": true
    }
  }
}
