simple.yaml 833 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. backendname: mybe
  2. models:
  3. - name: mymodel
  4. fields:
  5. - name: title
  6. type: string
  7. mandatory: true
  8. collection: false
  9. - name: array
  10. type: string
  11. mandatory: false
  12. collection: true
  13. - name: file
  14. type: file
  15. mandatory: false
  16. collection: false
  17. - name: date
  18. type: time
  19. mandatory: false
  20. collection: false
  21. - name: bool_1
  22. type: bool
  23. mandatory: false
  24. collection: false
  25. - name: bool_2
  26. type: bool
  27. mandatory: false
  28. collection: false
  29. indexes:
  30. - name: $fulltext
  31. fields:
  32. - title
  33. - tags
  34. - name: title
  35. fields:
  36. - title
  37. - name: array
  38. fields:
  39. - array