浏览代码

Attribute "datetime_created" made visible in serweb as read-only

Karel Kozlik 18 年之前
父节点
当前提交
7a419fb77d

+ 2 - 2
db/schema/attr_types.xml

@@ -161,9 +161,9 @@
 		<value col="at.rich_t">string</value>
 		<value col="at.desc">creation time</value>
 		<value col="at.d_flags">33</value>
-		<value col="at.prior">0</value>
+		<value col="at.prior">65792</value>
 		<value col="at.order">0</value>
-		<value col="at.access">1</value>
+		<value col="at.access">21</value>
 	</row>
 	
 	<row vendor-controlled="1">

+ 1 - 1
scripts/dbtext/ser_db/attr_types

@@ -1,7 +1,7 @@
 name(str) rich_type(str) raw_type(int) type_spec(str,null) description(str,null) default_flags(int) flags(int) priority(int) access(int) ordering(int) grp(str) 
 uid:string:2:::1:0:0:0:0:other
 did:string:2:::1:0:0:0:0:other
-datetime_created:string:2::creation time:33:0:0:1:0:other
+datetime_created:string:2::creation time:33:0:65792:21:0:other
 asserted_id:string:2::asserted identity:33:0:256:1:200:other
 fr_timer:int:0::@ff_fr_timer:33:0:1073807616:0:140:other
 fr_inv_timer:int:0::@ff_fr_inv_timer:33:0:1073807616:0:150:other

+ 1 - 1
scripts/mysql/my_data.sql

@@ -3,7 +3,7 @@ INSERT IGNORE INTO attr_types (name, raw_type, default_flags) VALUES ('uid', '2'
 DELETE FROM attr_types WHERE name='did';
 INSERT IGNORE INTO attr_types (name, raw_type, default_flags) VALUES ('did', '2', '1');
 DELETE FROM attr_types WHERE name='datetime_created';
-INSERT IGNORE INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, access) VALUES ('datetime_created', '2', 'string', 'creation time', '33', '0', '0', '1');
+INSERT IGNORE INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, access) VALUES ('datetime_created', '2', 'string', 'creation time', '33', '65792', '0', '21');
 DELETE FROM attr_types WHERE name='asserted_id';
 INSERT IGNORE INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, access) VALUES ('asserted_id', '2', 'string', 'asserted identity', '33', '256', '200', '1');
 DELETE FROM attr_types WHERE name='fr_timer';

+ 1 - 1
scripts/oracle/or_data.sql

@@ -3,7 +3,7 @@ INSERT IGNORE INTO attr_types (name, raw_type, default_flags) VALUES ('uid', '2'
 DELETE FROM attr_types WHERE name='did';
 INSERT IGNORE INTO attr_types (name, raw_type, default_flags) VALUES ('did', '2', '1');
 DELETE FROM attr_types WHERE name='datetime_created';
-INSERT IGNORE INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, attr_access) VALUES ('datetime_created', '2', 'string', 'creation time', '33', '0', '0', '1');
+INSERT IGNORE INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, attr_access) VALUES ('datetime_created', '2', 'string', 'creation time', '33', '65792', '0', '21');
 DELETE FROM attr_types WHERE name='asserted_id';
 INSERT IGNORE INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, attr_access) VALUES ('asserted_id', '2', 'string', 'asserted identity', '33', '256', '200', '1');
 DELETE FROM attr_types WHERE name='fr_timer';

+ 1 - 1
scripts/postgres/pg_data.sql

@@ -3,7 +3,7 @@ INSERT INTO attr_types (name, raw_type, default_flags) VALUES ('uid', '2', '1');
 DELETE FROM attr_types WHERE name='did';
 INSERT INTO attr_types (name, raw_type, default_flags) VALUES ('did', '2', '1');
 DELETE FROM attr_types WHERE name='datetime_created';
-INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, access) VALUES ('datetime_created', '2', 'string', 'creation time', '33', '0', '0', '1');
+INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, access) VALUES ('datetime_created', '2', 'string', 'creation time', '33', '65792', '0', '21');
 DELETE FROM attr_types WHERE name='asserted_id';
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, priority, ordering, access) VALUES ('asserted_id', '2', 'string', 'asserted identity', '33', '256', '200', '1');
 DELETE FROM attr_types WHERE name='fr_timer';