Simple database layout is provided below. For more details (data types, fields restrictions and default values) please refer to lms.mysql, lms.pgsql and lms.sqlite in doc/ directory.
| id - serial number |
| login - login |
| name - first and last name |
| email - user's email address |
| rights - binary access rights |
| hosts - list of hosts allowed to login |
| passwd - password to login |
| lastlogindate - date of last login |
| lastloginip - IP of last login |
| failedlogindate - date of last failed login attempt |
| failedloginip - IP of last failed login attempt |
| deleted - if is deleted boolean (0/1) |
| id - serial number |
| lastname - last/company name |
| name - first name |
| status - customer status (3-connected, 2-awaiting, 1-prospect) |
| email - email address |
| phone1 - phone |
| phone2 - phone |
| phone3 - phone |
| gguin - internet (gadu-gadu) messenger serial number |
| pin - pin number (for authentication) |
| address - street address (street, apartment, flat, etc) |
| zip - zip code |
| city - location (city) |
| nip - tax exempt number |
| pesel - social security number |
| info - additional informations |
| serviceaddr - correspondence address |
| creationdate - record creation date |
| moddate - record modification date |
| creatorid - serial of LMS user who created this record |
| modid - serial of LMS user last modification this record |
| deleted - if is deleted from database boolean (0/1) |
| message - message to be displayed if warnings enabled |
| id - serial number |
| name - group name |
| description - group description |
| id - serial number |
| usergroupid - group serial number |
| userid - customer serial number |
| id - serial number |
| name - network name |
| address - IP address |
| mask - network mask |
| interface - network interface (eg. eth1) |
| gateway - gateway IP address |
| dns - IP address of dns server |
| dns2 - IP address of secondary dns server |
| domain - domain of the network |
| wins - WINS server address |
| dhcpstart - first address of dynamic DHCP range |
| dhcpend - last address of dynamic DHCP range |
| id - serial number |
| name - device name |
| mac - MAC address |
| ipaddr - IP address |
| passwd - computer password for radius/pppoe login |
| ownerid - serial number of the owner ('0' if network device) |
| creationdate - creation timestamp |
| moddate - last modification timestamp |
| creatorid - creator's serial number |
| modid - modifier's serial number |
| netdev - serial number of connected network device |
| linktype - type of connection (0-cable, 1-wireless) |
| access - connected/disconnected (cutoff) (1/0) |
| warning - should be warned with administration message? (1/0) |
| lastonline - last network activity timestamp |
| info - additional information |
| id - serial number |
| name - name |
| location - physical location |
| description - device summary |
| producer - manufacturer's name |
| model - model number |
| serialnumber - products serial number (not DB identifier) |
| ports - number of connections available |
| id - serial number |
| src - connection's beginning |
| dst- connection's end |
| type - type of connection (0-cable, 1-wireless) |
| id - serial number |
| time - timestamp of operation |
| adminid - LMS user id |
| type - type of operation (income, expenditure, payment, debt) |
| value - amount in dollars |
| taxvalue - tax rate in percent |
| userid - customer's serial number ('0' - does not apply) |
| invoiceid - serial number for invoice related to this operation |
| itemid - invoice item identifier |
| comment - description of operation |
| id - serial number |
| date - timestamp of operation |
| customer - customer data |
| value - amount |
| taxvalue - tax rate in percent |
| customerid - customer's serial number |
| description - operation description |
| hash - unique operation identifier |
| closed - yes (1), if operation was moved to cash table |
| id - serial number |
| name - subscription name |
| value - amount |
| taxvalue - tax rate in percent |
| pkwiu - product/service classification number |
| uprate - upload warranty |
| upceil - upload boundary |
| downrate - download warranty |
| downceil - download boundary |
| climit - limit of concurrent connections |
| plimit - limit of packets per second |
| description - description for subscription |
| id - serial number |
| name - name |
| value - amount |
| creditor - creditor name |
| period - interval of operation: weekly/monthly/quarterly/annually (0/1/2/3) |
| at - pay day |
| description - description for payment |
| id - serial number |
| tariffid - subscription serial number |
| userid - customer serial number |
| period - interval of operation: weekly/monthly/quarterly/annually (0/1/2/3) |
| at - pay day |
| datefrom - start date for assignment |
| dateto - end date for assignment |
| invoice - invoice writeout? (1 - yes, 0 - no) |
| discount - discount percentage |
| suspended - is this payment suspended? (1 - yes, 0 - no) |
| id - serial number |
| number - number in year |
| cdate - date of write out |
| paytime - deadline in days |
| paytype - payment method (cash/transfer/etc.) |
| customerid - customer (buyer) serial number |
| name - name of buyer |
| address - address of buyer |
| nip - SSN of buyer |
| pesel - ID (passport number) of buyer |
| zip - zip code of buyer |
| phone - phone of buyer |
| city - location of buyer |
| finished - is this invoice complete? (0/1) |
| invoiceid - invoice serial number |
| itemid - invoice item identifier |
| value - amount |
| taxvalue - tax rate in percent |
| pkwiu - product/service classification number |
| content - used unit (usually 'pc.') |
| count - unit count |
| description - description for invoice |
| tariffid - subscription serial number |
| id - serial number |
| ownerid - customer serial number (0 - "system" account) |
| login - login name |
| password - password encrypted with crypt() |
| realname - additional name |
| lastlogin - last login date |
| uid - account system UID (usually ownerid+200) |
| home - account home directory |
| type - account type (binary sum: 1-shell, 2-email, 4-www, 8-ftp) |
| expdate - account expire date |
| domainid - domain serial number |
| createtime - account creation date |
| quota_sh - shell space limits |
| quota_mail - email space limits |
| quota_www - www space limits |
| quota_ftp - ftp space limits |
| id - serial number |
| name - domain name |
| description - comments |
| id - serial number |
| login - account name (without domain) |
| accountid - account serial number |
| time - last modified timestamp |
| tablename - name of modified table |
| nodeid - node serial number |
| dt - timestamp |
| upload - number of bytes sent |
| download - number of bytes received |
| id - serial number |
| name - queue name |
| email - email account for the queue |
| description - main description for the queue |
| id - serial number |
| queueid - queue serial number |
| requestor - reporter name and email |
| userid - customer serial number (if reported by customer) |
| subject - ticket name) |
| state - status (0-new, 1-open, 2-resolved, 3-dead) |
| owner - LMS user serial number (ticket owner) |
| createtime - timestamp of report |
| id - serial number |
| ticketid - ticket serial number |
| adminid - LMS user serial number (if ticket sender) |
| userid - customer serial number (if ticket sender) |
| mailfrom - sender email |
| subject - message subject |
| messageid - Message-ID message header |
| inreplyto - thread serial number (if threaded) |
| replyto - Reply-To message header |
| headers - all message headers |
| body - content of message body |
| createtime - date of creation/send/delivery |
| messageid - message serial number |
| filename - name of file attachment |
| contenttype - type of file |
| id - serial number |
| queueid - queue serial number |
| adminid - LMS user serial number |
| rights - permissions (1-read, 2-write) |
| id - serial number |
| section - config section name |
| var - config variable name |
| value - config variable value |
| description - option description or comment |
| disabled - is option disabled? (0-active, 1-disabled/default) |
| id - identifier |
| title - title |
| description - info |
| note - note |
| date - event date |
| begintime - beginning of event |
| endtime - end of event |
| adminid - event creator ID |
| userid - customer ID |
| private - status (private/public) |
| closed - is event closed? (1-yes/0-no) |
| eventid - event identifier |
| adminid - user identifier |
| id - session identifier |
| ctime - create time |
| mtime - last modification time |
| atime - last access time |
| vdata - verification data |
| content - data |
| id - identifier |
| name - host name |
| description - additional informations |
| lastreload - last reload date |
| reload - reload order |
| id - identifier |
| name - instance name |
| hostid - host identifier |
| module - module file path and name |
| crontab - time of reload |
| priority - reload priority |
| description - additional informations |
| disabled - status (enabled/disabled) |
| id - identifier |
| instanceid - instance identifier |
| var - option name |
| value - option value |
| description - additional informations |
| disabled - status (enabled/disabled) |
| keytype - type |
| keyvalue - value |