Browse code

kamctl: regenerated uacreg table creation scripts

ovoshlook authored on 09/09/2020 11:15:59 • Daniel-Constantin Mierla committed on 09/09/2020 11:15:59
Showing 11 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 METADATA_COLUMNS
2
-id(int) l_uuid(str) l_username(str) l_domain(str) r_username(str) r_domain(str) realm(str) auth_username(str) auth_password(str) auth_ha1(str) auth_proxy(str) expires(int) flags(int) reg_delay(int) socket(str)
2
+id(int) l_uuid(str) l_username(str) l_domain(str) r_username(str) r_domain(str) realm(str) auth_username(str) auth_password(str) auth_ha1(str) auth_proxy(str) expires(int) flags(int) reg_delay(int) contact_addr(str) socket(str)
3 3
 METADATA_KEY
4 4
 
5 5
 METADATA_READONLY
... ...
@@ -7,4 +7,4 @@ METADATA_READONLY
7 7
 METADATA_LOGFLAGS
8 8
 0
9 9
 METADATA_DEFAULTS
10
-NIL|''|''|''|''|''|''|''|''|''|''|0|0|0|''
10
+NIL|''|''|''|''|''|''|''|''|''|''|0|0|0|''|''
... ...
@@ -1,2 +1,2 @@
1
-id/int,l_uuid/string,l_username/string,l_domain/string,r_username/string,r_domain/string,realm/string,auth_username/string,auth_password/string,auth_ha1/string,auth_proxy/string,expires/int,flags/int,reg_delay/int,socket/string,
1
+id/int,l_uuid/string,l_username/string,l_domain/string,r_username/string,r_domain/string,realm/string,auth_username/string,auth_password/string,auth_ha1/string,auth_proxy/string,expires/int,flags/int,reg_delay/int,contact_addr/string,socket/string,
2 2
 4
... ...
@@ -13,6 +13,7 @@ CREATE TABLE uacreg (
13 13
     expires INTEGER DEFAULT 0 NOT NULL,
14 14
     flags INTEGER DEFAULT 0 NOT NULL,
15 15
     reg_delay INTEGER DEFAULT 0 NOT NULL,
16
+    contact_addr VARCHAR(128) DEFAULT '' NOT NULL,
16 17
     socket VARCHAR(128) DEFAULT '' NOT NULL,
17 18
     CONSTRAINT uacreg_l_uuid_idx UNIQUE (l_uuid)
18 19
 );
... ...
@@ -1 +1 @@
1
-id(int,auto) l_uuid(string) l_username(string) l_domain(string) r_username(string) r_domain(string) realm(string) auth_username(string) auth_password(string) auth_ha1(string) auth_proxy(string) expires(int) flags(int) reg_delay(int) socket(string) 
1
+id(int,auto) l_uuid(string) l_username(string) l_domain(string) r_username(string) r_domain(string) realm(string) auth_username(string) auth_password(string) auth_ha1(string) auth_proxy(string) expires(int) flags(int) reg_delay(int) contact_addr(string) socket(string) 
... ...
@@ -72,6 +72,11 @@
72 72
       "default": 0,
73 73
       "null": false
74 74
     },
75
+    "contact_addr": {
76
+      "type": "string",
77
+      "default": "",
78
+      "null": false
79
+    },
75 80
     "socket": {
76 81
       "type": "string",
77 82
       "default": "",
... ...
@@ -13,6 +13,7 @@ CREATE TABLE `uacreg` (
13 13
     `expires` INT DEFAULT 0 NOT NULL,
14 14
     `flags` INT DEFAULT 0 NOT NULL,
15 15
     `reg_delay` INT DEFAULT 0 NOT NULL,
16
+    `contact_addr` VARCHAR(128) DEFAULT '' NOT NULL,
16 17
     `socket` VARCHAR(128) DEFAULT '' NOT NULL,
17 18
     CONSTRAINT l_uuid_idx UNIQUE (`l_uuid`)
18 19
 );
... ...
@@ -13,6 +13,7 @@ CREATE TABLE uacreg (
13 13
     expires NUMBER(10) DEFAULT 0 NOT NULL,
14 14
     flags NUMBER(10) DEFAULT 0 NOT NULL,
15 15
     reg_delay NUMBER(10) DEFAULT 0 NOT NULL,
16
+    contact_addr VARCHAR2(128) DEFAULT '',
16 17
     socket VARCHAR2(128) DEFAULT '',
17 18
     CONSTRAINT uacreg_l_uuid_idx  UNIQUE (l_uuid)
18 19
 );
... ...
@@ -13,6 +13,7 @@ CREATE TABLE uacreg (
13 13
     expires INTEGER DEFAULT 0 NOT NULL,
14 14
     flags INTEGER DEFAULT 0 NOT NULL,
15 15
     reg_delay INTEGER DEFAULT 0 NOT NULL,
16
+    contact_addr VARCHAR(128) DEFAULT '' NOT NULL,
16 17
     socket VARCHAR(128) DEFAULT '' NOT NULL,
17 18
     CONSTRAINT uacreg_l_uuid_idx UNIQUE (l_uuid)
18 19
 );
... ...
@@ -839,6 +839,7 @@
839 839
 		<column><field>expires</field><type>DB1_INT</type></column>
840 840
 		<column><field>flags</field><type>DB1_INT</type></column>
841 841
 		<column><field>reg_delay</field><type>DB1_INT</type></column>
842
+		<column><field>contact_addr</field><type>DB1_STR</type></column>
842 843
 		<column><field>socket</field><type>DB1_STR</type></column>
843 844
 	</db_table>
844 845
 	<!-- Declaration of uid_credentials table-->
... ...
@@ -4238,6 +4239,7 @@
4238 4239
 				<col><field>expires</field></col>
4239 4240
 				<col><field>flags</field></col>
4240 4241
 				<col><field>reg_delay</field></col>
4242
+				<col><field>contact_addr</field></col>
4241 4243
 				<col><field>socket</field></col>
4242 4244
 			</query_cols>
4243 4245
 		</cmd>
... ...
@@ -4258,6 +4260,7 @@
4258 4260
 				<col><field>expires</field></col>
4259 4261
 				<col><field>flags</field></col>
4260 4262
 				<col><field>reg_delay</field></col>
4263
+				<col><field>contact_addr</field></col>
4261 4264
 				<col><field>socket</field></col>
4262 4265
 			</query_cols>
4263 4266
 		</cmd>
... ...
@@ -4281,6 +4284,7 @@
4281 4284
 				<col><field>expires</field></col>
4282 4285
 				<col><field>flags</field></col>
4283 4286
 				<col><field>reg_delay</field></col>
4287
+				<col><field>contact_addr</field></col>
4284 4288
 				<col><field>socket</field></col>
4285 4289
 			</query_cols>
4286 4290
 		</cmd>
... ...
@@ -18,6 +18,7 @@
18 18
 				<col><field>expires</field></col>
19 19
 				<col><field>flags</field></col>
20 20
 				<col><field>reg_delay</field></col>
21
+				<col><field>contact_addr</field></col>
21 22
 				<col><field>socket</field></col>
22 23
 			</query_cols>
23 24
 		</cmd>
... ...
@@ -38,6 +39,7 @@
38 39
 				<col><field>expires</field></col>
39 40
 				<col><field>flags</field></col>
40 41
 				<col><field>reg_delay</field></col>
42
+				<col><field>contact_addr</field></col>
41 43
 				<col><field>socket</field></col>
42 44
 			</query_cols>
43 45
 		</cmd>
... ...
@@ -61,6 +63,7 @@
61 63
 				<col><field>expires</field></col>
62 64
 				<col><field>flags</field></col>
63 65
 				<col><field>reg_delay</field></col>
66
+				<col><field>contact_addr</field></col>
64 67
 				<col><field>socket</field></col>
65 68
 			</query_cols>
66 69
 		</cmd>
... ...
@@ -16,5 +16,6 @@
16 16
 		<column><field>expires</field><type>DB1_INT</type></column>
17 17
 		<column><field>flags</field><type>DB1_INT</type></column>
18 18
 		<column><field>reg_delay</field><type>DB1_INT</type></column>
19
+		<column><field>contact_addr</field><type>DB1_STR</type></column>
19 20
 		<column><field>socket</field><type>DB1_STR</type></column>
20 21
 	</db_table>