{
  alias:            "___fcf___sessions",
  table:            "___fcf___sessions",
  enable:           true,
  title:            "Sessions",
  singleTitle:      "${record.session_id}$",
  description:      "List of open user sessions",
  dbSync:           true,
  inner:            true,
  connectionGroup:  "default",
  access:           "root",
  key:              "id",
  order:            [ { type: "field", field: "id", order: "asc" } ],
  access:           "root",
  fields:[
    {
      alias:          'id',
      field:          'id',
      type:           'bigint',
      notAdd:         true,
      notEdit:        true,
      autoIncrement:  true,
    },
    {
      alias:          "session_id",
      field:          "session_id",
      title:          "Session id",
      type:           'string',
      maxSize:        64,
      notEmpty:       true,
      unique:         true,
    },
    {
      alias:          'user_id',
      field:          'user_id',
      title:          'User ID',
      type:           'bigint',
      notEmpty:       true,
    },
    {
      alias:          'start',
      field:          'start',
      title:          'Start session',
      type:           'datetime',
      notEmpty:       true,
    },
    {
      alias:          'last',
      field:          'last',
      title:          'Last access',
      type:           'datetime',
      notEmpty:       true,
    },
  ]
}
