default_db-admin_users.json 587 B

12345678910111213141516171819202122
  1. {
  2. "name": "ADMIN_USERS",
  3. "db_table": "ADMIN_USERS",
  4. "db_source": "default_db",
  5. "label": "Użytkownik",
  6. "list_label": "Użytkownicy",
  7. "fields": {
  8. "ID": { "label": "Nr", "type": "int" },
  9. "ADM_ACCOUNT": { "label": "Login", "type": "string", "restrictions": { "maxLength": 20 } },
  10. "ADM_NAME": { "label": "Imię i nazwisko", "type": "string", "restrictions": { "maxLength": 255 } }
  11. },
  12. "keys": {
  13. "PRIMARY": {
  14. "fields": "ID",
  15. "auto_increment": true
  16. },
  17. "uniq_adm_account": {
  18. "fields": ["ADM_ACCOUNT"],
  19. "type": "UNIQUE"
  20. }
  21. }
  22. }