Browse Source

- default did is _default

Jan Janak 19 years ago
parent
commit
e191e6664a

+ 1 - 1
db/schema/credentials.xml

@@ -39,7 +39,7 @@
 	<name>did</name>
 	<name>did</name>
 	<type>string</type>
 	<type>string</type>
 	<size>&id_len;</size>
 	<size>&id_len;</size>
-        <default>_none</default>
+        <default>_default</default>
 	<description>
 	<description>
 	    DID of the virtual domain the username belongs to.
 	    DID of the virtual domain the username belongs to.
 	</description>
 	</description>

+ 1 - 1
scripts/mysql/my_create.sql

@@ -68,7 +68,7 @@ CREATE TABLE missed_calls (
 INSERT INTO version (table_name, table_version) values ('credentials','7');
 INSERT INTO version (table_name, table_version) values ('credentials','7');
 CREATE TABLE credentials (
 CREATE TABLE credentials (
     auth_username VARCHAR(64) NOT NULL,
     auth_username VARCHAR(64) NOT NULL,
-    did VARCHAR(64) NOT NULL DEFAULT '_none',
+    did VARCHAR(64) NOT NULL DEFAULT '_default',
     realm VARCHAR(64) NOT NULL,
     realm VARCHAR(64) NOT NULL,
     password VARCHAR(28) NOT NULL DEFAULT '',
     password VARCHAR(28) NOT NULL DEFAULT '',
     flags INT NOT NULL DEFAULT '0',
     flags INT NOT NULL DEFAULT '0',

+ 1 - 1
scripts/oracle/or_create.sql

@@ -68,7 +68,7 @@ CREATE TABLE missed_calls (
 INSERT INTO version (table_name, table_version) values ('credentials','7');
 INSERT INTO version (table_name, table_version) values ('credentials','7');
 CREATE TABLE credentials (
 CREATE TABLE credentials (
     auth_username string(64) NOT NULL,
     auth_username string(64) NOT NULL,
-    did string(64) NOT NULL DEFAULT '_none',
+    did string(64) NOT NULL DEFAULT '_default',
     realm string(64) NOT NULL,
     realm string(64) NOT NULL,
     password string(28) NOT NULL DEFAULT '',
     password string(28) NOT NULL DEFAULT '',
     flags int NOT NULL DEFAULT '0',
     flags int NOT NULL DEFAULT '0',

+ 1 - 1
scripts/postgres/pg_create.sql

@@ -68,7 +68,7 @@ CREATE INDEX mc_cid_key ON missed_calls (sip_callid);
 
 
 CREATE TABLE credentials (
 CREATE TABLE credentials (
     auth_username VARCHAR(64) NOT NULL,
     auth_username VARCHAR(64) NOT NULL,
-    did VARCHAR(64) NOT NULL DEFAULT '_none',
+    did VARCHAR(64) NOT NULL DEFAULT '_default',
     realm VARCHAR(64) NOT NULL,
     realm VARCHAR(64) NOT NULL,
     password VARCHAR(28) NOT NULL DEFAULT '',
     password VARCHAR(28) NOT NULL DEFAULT '',
     flags INTEGER NOT NULL DEFAULT '0',
     flags INTEGER NOT NULL DEFAULT '0',