Skip to content

Commit

Permalink
utils/kamctl: updated sql scripts for table version
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 30, 2015
1 parent 4d1f897 commit d3e45d3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/kamctl/db_berkeley/kamailio/version
Expand Up @@ -8,6 +8,8 @@ METADATA_LOGFLAGS
0
METADATA_DEFAULTS
NIL|0
version|
version|1
acc|
acc|5
acc_cdrs|
Expand Down
1 change: 1 addition & 0 deletions utils/kamctl/db_sqlite/standard-create.sql
@@ -1,3 +1,4 @@
INSERT INTO version (table_name, table_version) values ('version','1');
CREATE TABLE version (
table_name VARCHAR(32) NOT NULL,
table_version INTEGER DEFAULT 0 NOT NULL,
Expand Down
1 change: 1 addition & 0 deletions utils/kamctl/dbtext/kamailio/version
@@ -1,4 +1,5 @@
table_name(string) table_version(int)
version:1
acc:5
acc_cdrs:2
active_watchers:11
Expand Down
1 change: 1 addition & 0 deletions utils/kamctl/mysql/standard-create.sql
@@ -1,3 +1,4 @@
INSERT INTO version (table_name, table_version) values ('version','1');
CREATE TABLE `version` (
`table_name` VARCHAR(32) NOT NULL,
`table_version` INT UNSIGNED DEFAULT 0 NOT NULL,
Expand Down
1 change: 1 addition & 0 deletions utils/kamctl/oracle/standard-create.sql
@@ -1,3 +1,4 @@
INSERT INTO version (table_name, table_version) values ('version','1');
CREATE TABLE version (
table_name VARCHAR2(32),
table_version NUMBER(10) DEFAULT 0 NOT NULL,
Expand Down
1 change: 1 addition & 0 deletions utils/kamctl/postgres/standard-create.sql
@@ -1,3 +1,4 @@
INSERT INTO version (table_name, table_version) values ('version','1');
CREATE TABLE version (
table_name VARCHAR(32) NOT NULL,
table_version INTEGER DEFAULT 0 NOT NULL,
Expand Down

0 comments on commit d3e45d3

Please sign in to comment.