Skip to content

Instantly share code, notes, and snippets.

@pjagielski
Created February 11, 2019 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjagielski/2e097d7b68e3fac297127437723ecdb1 to your computer and use it in GitHub Desktop.
Save pjagielski/2e097d7b68e3fac297127437723ecdb1 to your computer and use it in GitHub Desktop.
object ArticleTagTable : Table("article_tags") {
val tagId = tagId("tag_id").references(TagTable.id)
val articleId = articleId("article_id").references(ArticleTable.id)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment