---
comments:
  -
    table: users
    tableComment: Users
    columnComments:
      email: Email address as login id. ex. user@example.com
  -
    table: user_options
    tableComment: User options
    columnComments:
      show_email: Show email address
  -
    table: posts
    tableComment: Blog entries
    columnComments:
      title: Title of entry
      title: Content of entry
      image: Hero image
  -
    table: comments
    tableComment: Blog comments
  -
    table: comment_stars
    tableComment: Stars of Blog comments
relations:
  -
    table: comments
    columns:
      - user_id
    parentTable: users
    parentColumns:
      - user_id
    def: comments->users
  -
    table: comment_stars
    columns:
      - comment_post_id
      - comment_user_id
    parentTable: comments
    parentColumns:
      - post_id
      - user_id
    def: comments->comment_stars
  -
    table: logs
    columns:
      - post_id
    parentTable: posts
    parentColumns:
      - post_id
    def: logs->posts
  -
    table: logs
    columns:
      - user_id
    parentTable: users
    parentColumns:
      - user_id
    def: logs->users
