Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
database:1.2.x [2008/04/29 22:07] – 81.189.116.2 | database:1.2.x [2009/02/27 19:56] (current) – 86.121.132.177 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== OpenSER 1.2.x Database Table Structure ====== | ||
+ | |||
+ | < | ||
+ | Authors of initial tutorial: | ||
+ | Norman Brandinger | ||
+ | </ | ||
+ | <hi #eeeeee> **//last updated// | ||
+ | |||
+ | For initial database structure you can also use the script | ||
+ | openser_mysql.sh create | ||
+ | which comes with the package. You can edit the script and modify e.g. database, user, password to your needs. | ||
+ | Usually it's located in / | ||
+ | |||
+ | ===== Accounting ===== | ||
+ | |||
+ | This table is used by the ACC module to report on transactions - accounted calls. | ||
+ | |||
+ | More information is available at: http:// | ||
+ | |||
+ | |||
+ | ** Accounting (//acc//) Table ** | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Description ^ | ||
+ | | id | int(10) | UNSIGNED auto_increment | Unique ID per record | | ||
+ | | method | varchar(16) | | A method is the primary function that a request is meant to invoke on a server | | ||
+ | | from_tag | varchar(64) | | The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog | | ||
+ | | to_tag | varchar(64) | | The tag parameter serves as a general mechanism to identify a dialog, which is the combination of the Call-ID along with two tags, one from participant in the dialog | | ||
+ | | callid | varchar(128) | | Call-ID header field uniquely identifies a particular invitation or all registrations of a particular client. | | ||
+ | |s ip_code | char(3) | | SIP reply code | | ||
+ | | sip_reason | varchar(32) | | SIP reply reason | | ||
+ | | time | datetime | | Date / Time this record was written. | | ||
+ | |||
+ | ** Accounting (//acc//) Table Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | | acc_callid | Index | callid | | ||
+ | |||
+ | ===== Active Sessions ===== | ||
+ | |||
+ | This table is used by SERWeb. It is not used by OpenSER. | ||
+ | ** Active Sessions (// | ||
+ | |||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |sid | varchar(32) | | SERWeb session id | | ||
+ | |name | varchar(32) | | | ||
+ | |val | text | NULL | Serialized value of web session | | ||
+ | |changed | varchar(14)| | | | ||
+ | |||
+ | ** Active Sessions (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | name, sid | | ||
+ | | changed | Index | changed | | ||
+ | |||
+ | ===== Address ===== | ||
+ | |||
+ | This table is used by permissions module. | ||
+ | |||
+ | ** Address (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | | id | bigint(20) | ||
+ | | grp | smallint(5) | UNSIGNED | 0 | | | ||
+ | | ip_addr | ||
+ | | mask | tinyint(4) | ||
+ | | port | smallint(5) | UNSIGNED | 0 | | | ||
+ | |||
+ | ** Address (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | |||
+ | ===== Administrative Privileges | ||
+ | |||
+ | Multi-domain SERWeb Access Control List (ACL). It is not used by OpenSER. | ||
+ | |||
+ | ** Administrative Privileges (// | ||
+ | |||
+ | It is used for multidomain serweb ACL control | ||
+ | ^ Field ^ Type ^ Description ^ | ||
+ | |username | ||
+ | |domain | ||
+ | |priv_name | ||
+ | |priv_value | ||
+ | |||
+ | ** Administrative Privileges (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | username, priv_name, priv_value, domain | | ||
+ | |||
+ | ===== Aliases ===== | ||
+ | |||
+ | This table is similar to the " | ||
+ | |||
+ | More information is available at: http:// | ||
+ | |||
+ | ** Aliases (// | ||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |username | ||
+ | |domain | ||
+ | |contact | ||
+ | |received | ||
+ | |path | ||
+ | |expires | ||
+ | |q | float(10, | ||
+ | |callid | ||
+ | |cseq | ||
+ | |last_modified | datetime | 1900-01-01 00:00:00 | Date/Time this entry was last changed. | | ||
+ | |flags | ||
+ | |user_agent | ||
+ | |socket | ||
+ | |methods | ||
+ | |||
+ | ** Aliases (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | username, domain, contact | | ||
+ | | aliases_contact | Index | contact | | ||
+ | |||
+ | ===== Database Aliases ===== | ||
+ | This table us used by the alias_db module as an alternative for user aliases via userloc. | ||
+ | |||
+ | More information about the alias_db module can be found at: http:// | ||
+ | |||
+ | ** Database Aliases (// | ||
+ | |||
+ | ^ Field ^ Type ^ Description ^ | ||
+ | |alias_username | varchar(64) | ||
+ | |alias_domain | varchar(128) | ||
+ | |username | varchar(64) | ||
+ | |domain | ||
+ | |||
+ | ** Database Aliases (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | alias_key | Unique | alias_username, | ||
+ | | alias_user | Index | username, domain | | ||
+ | |||
+ | ===== Domains ===== | ||
+ | This table is used by the domain module to determine if a host part of a URI is " | ||
+ | |||
+ | More information about the domain module can be found at: http:// | ||
+ | |||
+ | ** Domains (// | ||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |domain | ||
+ | |last_modified| datetime | ||
+ | |||
+ | ** Domains (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | domain | | ||
+ | |||
+ | ===== Domain Policy ===== | ||
+ | |||
+ | More information about the domainpolicy module can be found at: http:// | ||
+ | |||
+ | ** Domain Policy (// | ||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |id | int(11) | auto_increment | | Unique ID per record | | ||
+ | |rule | varchar(255) | | | Domain policy rule name which is equal to the URI as published in the domain policy NAPTRs. | | ||
+ | |type | varchar(255) | | | Domain policy rule type. In the case of federation names, this is " | ||
+ | |att | varchar(255) | ||
+ | |val | varchar(255) | | NULL | It contains the values for AVPs created by dp_can_connect(). Default value is " | ||
+ | |comment | varchar(255) | | NULL | Comments about the rule | | ||
+ | |||
+ | ** Domain Policy Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id, rule | | ||
+ | | rule | Unique | rule, att, val | | ||
+ | | rule_idx | Index | rule | | ||
+ | |||
+ | ===== Groups ===== | ||
+ | |||
+ | This table us used by the group module as a means of group membership checking. Used primarily for Access Control Lists (ACL' | ||
+ | |||
+ | More information about the group module can be found at: http:// | ||
+ | |||
+ | ** Groups (//grp//) Table ** | ||
+ | |||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |username | ||
+ | |domain | ||
+ | |grp | varchar(50) | ||
+ | |last_modified| datetime | ||
+ | |||
+ | ** Groups (//grp//) Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | username, domain, grp | | ||
+ | |||
+ | ===== Gateways ===== | ||
+ | This table contains Least Cost Routing Gateway definitions | ||
+ | |||
+ | More information can be found at: http:// | ||
+ | |||
+ | ** Gateways (//gw//) Table ** | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |gw_name | ||
+ | |grp_id | ||
+ | |ip_addr | ||
+ | |port | ||
+ | |uri_scheme | ||
+ | |transport | ||
+ | |strip | ||
+ | |prefix | ||
+ | |||
+ | ** Gateways (//gw//) Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | gw_name | | ||
+ | | grp_id | Index | grp_id | | ||
+ | |||
+ | ===== Gateway Groups ===== | ||
+ | This table is used for administrative purposes only to associate names with gateway group ids | ||
+ | |||
+ | More information can be found at: http:// | ||
+ | |||
+ | ** Gateway Groups (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Description ^ | ||
+ | |grp_id | ||
+ | |grp_name | ||
+ | |||
+ | ** Gateway Groups (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | grp_id | | ||
+ | |||
+ | ===== Least Cost Routing ===== | ||
+ | This table is used by the lcr (Least Cost Routing) rules | ||
+ | |||
+ | More information about the lcr module can be found at: http:// | ||
+ | |||
+ | ** Least Cost Routing (//lcr//) Table ** | ||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |prefix | ||
+ | |from_uri | ||
+ | |grp_id | ||
+ | |priority | ||
+ | |||
+ | ** Least Cost Routing (//lcr//) Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | prefix | ||
+ | | from_uri | Index | from_uri | | ||
+ | | grp_id | ||
+ | |||
+ | ===== User Locations ===== | ||
+ | Persistent user location information | ||
+ | |||
+ | More information can be found at: http:// | ||
+ | |||
+ | ** User Locations (// | ||
+ | ^Field ^ Type ^ Default ^ Description ^ | ||
+ | |username | ||
+ | |domain | ||
+ | |contact | ||
+ | |received | ||
+ | |path | ||
+ | |expires | ||
+ | |q | float(10, | ||
+ | |callid | ||
+ | |cseq | ||
+ | |last_modified| datetime | 1900-01-01 00:00:00 | Date/Time this record was last modified| | ||
+ | |flags | ||
+ | |user_agent | ||
+ | |socket | ||
+ | |methods | ||
+ | |||
+ | ** User Locations (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | username, domain, contact | | ||
+ | |||
+ | ===== Missed Calls ===== | ||
+ | acc like table for keeping track of missed calls | ||
+ | |||
+ | **Missed Calls (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Description ^ | ||
+ | |id | int(10) | ||
+ | |method | ||
+ | |from_tag | ||
+ | |to_tag | ||
+ | |callid | ||
+ | |sip_code | ||
+ | |sip_reason | ||
+ | |time | ||
+ | |||
+ | ** Missed Calls (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | | acc_callid | Index | callid | | ||
+ | |||
+ | ===== Prefix-Domain Translation ===== | ||
+ | |||
+ | Prefix-Domain Translation means to change the host and port in R-URI, based on the prefix found in R-URI and source domain (that is domain in From-URI). | ||
+ | |||
+ | More information can be found at: http:// | ||
+ | |||
+ | ** Prefix-Domain Translation (//pdt//) Table ** | ||
+ | |||
+ | ^ Field ^ Type ^ Description ^ | ||
+ | |sdomain | ||
+ | |prefix | ||
+ | |domain | ||
+ | |||
+ | |||
+ | ** Prefix-Domain Translation (//pdt//) Table Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | sdomain, prefix | | ||
+ | |||
+ | ===== Pending ===== | ||
+ | SerWEB - Not used by OpenSER -- should have same structure as table **subscriber**. | ||
+ | |||
+ | Unconfirmed subscription requests | ||
+ | |||
+ | ** Pending (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |id | int(10) | ||
+ | |phplib_id | ||
+ | |username | ||
+ | |domain | ||
+ | |password | ||
+ | |first_name | ||
+ | |last_name | ||
+ | |phone | ||
+ | |email_address| varchar(50) | ||
+ | |datetime_created| datetime | ||
+ | |datetime_modified| datetime | ||
+ | |confirmation | varchar(64) | ||
+ | |flag | ||
+ | |sendnotification| varchar(50) | | | | | ||
+ | |greeting | ||
+ | |ha1 | varchar(128) | ||
+ | |ha1b | ||
+ | |allow_find | ||
+ | |timezone | ||
+ | |rpid | ||
+ | |||
+ | ** Pending (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | | user_id | Unique | username, domain | | ||
+ | | phplib_id | Unique | phplib_id | | ||
+ | | username_id | Index | username | | ||
+ | |||
+ | ===== Phone Book ===== | ||
+ | SERWeb - Not used by OpenSER. User's Phonebook | ||
+ | |||
+ | ** Phone Book (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Description ^ | ||
+ | |id | int(10) | ||
+ | |username | ||
+ | |domain | ||
+ | |fname | ||
+ | |lname | ||
+ | |sip_uri | ||
+ | |||
+ | ** Phone Book (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | |||
+ | ===== Regular Expression Group ===== | ||
+ | This table is used by the group module to check membership based on regular expressions | ||
+ | |||
+ | More information about the group module can be found at: http:// | ||
+ | |||
+ | ** Regular Expression Group (// | ||
+ | |||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |reg_exp | ||
+ | |group_id | ||
+ | |||
+ | ** Regular Expression Group (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | reg_exp | UNIQUE | reg_exp | | ||
+ | |||
+ | ===== Server Monitoring ===== | ||
+ | SERWeb - Not used by OpenSER | ||
+ | |||
+ | ** Server Monitoring (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |time | ||
+ | |id | int(10) | ||
+ | |param | ||
+ | |value | ||
+ | |increment | ||
+ | |||
+ | ** Server Monitoring (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id, param | | ||
+ | |||
+ | ===== Server Monitoring ===== | ||
+ | SERWeb - Not used by OpenSER | ||
+ | |||
+ | ** Server Monitoring (// | ||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |param | ||
+ | |s_value | ||
+ | |s_increment | ||
+ | |last_aggregated_increment| int(10) | 0 | | | ||
+ | |av | float | 0 | | | ||
+ | |mv | int(10)| 0 | | | ||
+ | |ad | float | 0 | | | ||
+ | |lv | int(10)| 0 | | | ||
+ | |min_val | ||
+ | |max_val | ||
+ | |min_inc | ||
+ | |max_inc | ||
+ | |lastupdate | ||
+ | |||
+ | ** Server Monitoring (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | param | | ||
+ | |||
+ | ===== SIP Trace ===== | ||
+ | This table is used to store incoming/ | ||
+ | |||
+ | ** SIP Trace (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |id | bigint(20) | ||
+ | |date | datetime | ||
+ | |callid | ||
+ | |traced_user | ||
+ | |msg | text | | | full SIP message | | ||
+ | |method | ||
+ | |status | ||
+ | |fromip | ||
+ | |toip | varchar(50) | ||
+ | |fromtag | ||
+ | |direction | ||
+ | |||
+ | ** SIP Trace (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | | user_idx | Index | traced_user | | ||
+ | | date_id | Index | date | | ||
+ | | ip_idx | Index | fromip | | ||
+ | | call_id | Index | callid | | ||
+ | |||
+ | |||
+ | |||
+ | ===== Offline Message Storage ===== | ||
+ | This table us used by the msilo module to provide offline message storage | ||
+ | |||
+ | More information about the msilo module can be found at: http:// | ||
+ | |||
+ | ** Offline Message Storage (//silo//) Table ** | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |mid | int(11) | ||
+ | |src_addr | ||
+ | |dst_addr | ||
+ | |username | ||
+ | |domain | ||
+ | |inc_time | ||
+ | |exp_time | ||
+ | |snd_time | ||
+ | |ctype | ||
+ | |body | ||
+ | |||
+ | ** Offline Message Storage (//silo//) Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | mid | | ||
+ | | username | Index | username, domain | | ||
+ | |||
+ | ===== Speed Dial===== | ||
+ | This table is used by the speeddial module to provide on-server speed dial facilities | ||
+ | |||
+ | More information about the speeddial module can be found at: http:// | ||
+ | |||
+ | ** Speed Dial (// | ||
+ | |||
+ | ^ Field ^ Type ^ Description ^ | ||
+ | |uuid | ||
+ | |username | varchar(64) | ||
+ | |domain | ||
+ | |sd_username | varchar(64) | ||
+ | |sd_domain | varchar(128) | ||
+ | |new_uri | varchar(192) | ||
+ | |fname | ||
+ | |lname | ||
+ | |description | varchar(64) | ||
+ | |||
+ | ** Speed Dial (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | username, domain, sd_domain, sd_username | | ||
+ | |||
+ | ===== Subscriber ===== | ||
+ | This table is used to provide authentication information | ||
+ | |||
+ | More information about the auth_db module can be found at: http:// | ||
+ | |||
+ | ** Subscriber (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |id | int(10) | UNSIGNED auto_increment | | Unique ID per record | | ||
+ | |username | varchar(64) | | | Username / Phone Number | | ||
+ | |domain | ||
+ | |password | varchar(25) | | | Password | | ||
+ | |first_name | varchar(25) | ||
+ | |last_name | varchar(45) | ||
+ | |email_address | varchar(50) | ||
+ | |datetime_created| datetime | ||
+ | |ha1 | varchar(128) | | | md5(username: | ||
+ | |ha1b | ||
+ | |timezone | varchar(128) | | NULL | user's time zone | | ||
+ | |rpid | ||
+ | ^^^^^--- serweb specific columns ---^^^^^ | ||
+ | |phplib_id | varchar(32) | ||
+ | |phone | ||
+ | |datetime_modified| datetime | ||
+ | |confirmation | ||
+ | |flag | ||
+ | |sendnotification| varchar(50) | | | | | ||
+ | |greeting | varchar(50) | | | | | ||
+ | |allow_find | char(1) | | 0 | Flag to allow others to find the SIP address when searching using the name | | ||
+ | |||
+ | |||
+ | ** Subscriber (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | | user_id | Unique | username, domain | | ||
+ | | phplib_id | Unique | phplib_id | | ||
+ | | username_id | Index | username | | ||
+ | |||
+ | ===== Trusted ===== | ||
+ | This table is used by the permissions module to determine if a call has the appropriate permission to be established | ||
+ | |||
+ | More information about the permissions module can be found at: http:// | ||
+ | |||
+ | ** Trusted (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |id | bigint(20) | ||
+ | |src_ip | ||
+ | |proto | ||
+ | |from_pattern | varchar(64) | ||
+ | |tag | varchar(32) | ||
+ | |||
+ | ** Trusted (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | | Key1 | Index | src_ip | | ||
+ | |||
+ | ===== URI ===== | ||
+ | |||
+ | This table is used by uri_db module to implement various SIP URI checks. | ||
+ | |||
+ | A configuration parm: modparam(" | ||
+ | |||
+ | More information about the uri_db module can be found at: http:// | ||
+ | |||
+ | ** URI (//uri//) Table ** | ||
+ | |||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |username | varchar(64) | ||
+ | |domain | ||
+ | |uri_user | varchar(50) | ||
+ | |last_modified | datetime | ||
+ | |||
+ | ** URI (//uri//) Indexes ** | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | username, domain, uri_user | | ||
+ | |||
+ | ===== User Preferences ===== | ||
+ | This table us used by the avpops module to implement Attribute Value Pairs (AVP' | ||
+ | |||
+ | More information about the avpops module can be found at: http:// | ||
+ | |||
+ | ** User Preferences (// | ||
+ | |||
+ | ^ Field ^ Type ^ Attributes ^ Default ^ Description ^ | ||
+ | |id | bigint(20) | ||
+ | |uuid | ||
+ | |username | varchar(100) | ||
+ | |domain | ||
+ | |attribute | varchar(32) | ||
+ | |type | ||
+ | |value | ||
+ | |last_modified | timestamp(14) | ||
+ | |||
+ | ** User Preferences (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | id | | ||
+ | | ua_idx | Index | uuid, attribute | | ||
+ | | ida_idx | Index | username, domain, attribute | | ||
+ | |||
+ | ===== User Preference Types ===== | ||
+ | ** User Preference Types (// | ||
+ | |||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |att_name | varchar(32) | ||
+ | |att_rich_type | varchar(32) | ||
+ | |att_raw_type | int(11) | ||
+ | |att_type_spec | text | NULL | | | ||
+ | |default_value | varchar(100) | ||
+ | |||
+ | ** User Preference Types (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | att_name | | ||
+ | |||
+ | ===== Table Versions ===== | ||
+ | This table contains OpenSER table names and version numbers. It is used by various OpenSER routines to ensure that the correct version of a particular table is being used. | ||
+ | |||
+ | ** Table Versions (// | ||
+ | |||
+ | ^ Field ^ Type ^ Default ^ Description ^ | ||
+ | |table_name | varchar(64) | ||
+ | |table_version | smallint(5) | ||
+ | |||
+ | ** Table Versions (// | ||
+ | |||
+ | ^ Keyname ^ Type ^ Field ^ | ||
+ | | PRIMARY | Primary | table_name | | ||
+ | |||
+ | |||
+ | ===== Database Structure Stuff ===== | ||
+ | |||
+ | {{indexmenu> |