Jan Janak 19 rokov pred
rodič
commit
2d5850d6c5
2 zmenil súbory, kde vykonal 14 pridanie a 3 odobranie
  1. 11 1
      db/schema/location.xml
  2. 3 2
      scripts/mysql/my_create.sql

+ 11 - 1
db/schema/location.xml

@@ -9,7 +9,7 @@
 
 <table id="location">
     <name>location</name>
-    <version>8</version>
+    <version>9</version>
 
     <description>
 	Location table contains contacts registered by users. This table
@@ -25,6 +25,16 @@
 	</description>
     </column>
 
+    <column id="location.aor">
+	<name>aor</name>
+	<type>string</type>
+	<size>&uri_len;</size>
+	<description>
+           Address of record.
+	</description>
+    </column>
+
+
     <column id="location.contact">
 	<name>contact</name>
 	<type>string</type>

+ 3 - 2
scripts/mysql/my_create.sql

@@ -195,9 +195,10 @@ CREATE TABLE domain_settings (
     KEY ds_df (did, filename)
 );
 
-INSERT INTO version (table_name, table_version) values ('location','8');
+INSERT INTO version (table_name, table_version) values ('location','9');
 CREATE TABLE location (
     uid VARCHAR(64) NOT NULL,
+    aor VARCHAR(255) NOT NULL,
     contact VARCHAR(255) NOT NULL,
     received VARCHAR(255),
     expires DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00',
@@ -575,4 +576,4 @@ CREATE TABLE customers (
     UNIQUE KEY cu_idx (cid)
 );
 
- 
+