mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add support for #include, var_metric, and cat_metric in res_config_sqlite
(closes issue #10738, rbraun_proformatique) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
CREATE TABLE ast_config (
|
||||
id INTEGER,
|
||||
cat_metric INT(11) NOT NULL DEFAULT 0,
|
||||
var_metric INT(11) NOT NULL DEFAULT 0,
|
||||
commented TINYINT(1) NOT NULL DEFAULT 0,
|
||||
filename VARCHAR(128) NOT NULL DEFAULT '',
|
||||
category VARCHAR(128) NOT NULL DEFAULT 'default',
|
||||
@@ -23,8 +25,9 @@ CREATE TABLE ast_config (
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
CREATE INDEX ast_config__idx__cat_metric ON ast_config(cat_metric);
|
||||
CREATE INDEX ast_config__idx__var_metric ON ast_config(var_metric);
|
||||
CREATE INDEX ast_config__idx__filename_commented ON ast_config(filename, commented);
|
||||
CREATE INDEX ast_config__idx__category ON ast_config(category);
|
||||
|
||||
/*
|
||||
* CDR table (this table is automatically created if non existent).
|
||||
|
Reference in New Issue
Block a user