Skip to content

Instantly share code, notes, and snippets.

@verdverm
Created May 6, 2018 17:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verdverm/9898501706a7f003405ee98af46ae682 to your computer and use it in GitHub Desktop.
Save verdverm/9898501706a7f003405ee98af46ae682 to your computer and use it in GitHub Desktop.
type:
name: Todo
relations:
- name: tags
type: TodoTag
relation: many-to-many
- name: links
type: TodoLink
relation: many-to-many
fields:
- name: name
type: string
length: 128
- name: content
type: string
length: -1
search:
fields:
- name
- content
relation-fields:
- tags.value
- links.value
---
type:
name: TodoTag
main-table-disabled: true
relations:
- name: todos
type: type.modules.tno.Todo
relation: many-to-many
fields:
- name: value
type: string
length: 128
---
type:
name: TodoLink
main-table-disabled: true
relations:
- name: todos
type: type.modules.tno.Todo
relation: many-to-many
fields:
- name: description
type: string
length: 128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment