Browse Source

added attribute "sw_require_conf"

Karel Kozlik 20 years ago
parent
commit
19174ea0f1

+ 10 - 0
db/schema/attr_types.xml

@@ -289,5 +289,15 @@
          <value col="at.flags">0</value>
          <value col="at.flags">0</value>
          <value col="at.prior">0</value>
          <value col="at.prior">0</value>
          </row>
          </row>
+    <row><value col="at.name">sw_require_conf</value>
+         <value col="at.type">0</value>
+         <value col="at.rich_t">boolean</value>
+         <value col="at.desc">@ff_reg_confirmation</value>
+         <value col="at.d_flags">32</value>
+         <value col="at.flags">0</value>
+         <value col="at.prior">1073807360</value>
+	 <value col="at.order">120</value>
+    </row>
+
 
 
 </table>
 </table>

+ 1 - 0
scripts/dbtext/ser_db/attr_types

@@ -26,3 +26,4 @@ sw_is_admin:boolean:0::admin privilege:32:0:0:0
 sw_is_hostmaster:boolean:0::hostmaster privilege:32:0:0:0
 sw_is_hostmaster:boolean:0::hostmaster privilege:32:0:0:0
 sw_confirmation:string:2::registration confirmation:32:0:0:0
 sw_confirmation:string:2::registration confirmation:32:0:0:0
 sw_pending_ts:string:2::registration timestamp:32:0:0:0
 sw_pending_ts:string:2::registration timestamp:32:0:0:0
+sw_require_conf:boolean:0::@ff_reg_confirmation:32:0:1073807360:120

+ 1 - 0
scripts/mysql/my_create.sql

@@ -145,6 +145,7 @@ INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, f
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_is_hostmaster', '0', 'boolean', 'hostmaster privilege', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_is_hostmaster', '0', 'boolean', 'hostmaster privilege', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_confirmation', '2', 'string', 'registration confirmation', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_confirmation', '2', 'string', 'registration confirmation', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_pending_ts', '2', 'string', 'registration timestamp', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_pending_ts', '2', 'string', 'registration timestamp', '32', '0', '0');
+INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority, ordering) VALUES ('sw_require_conf', '0', 'boolean', '@ff_reg_confirmation', '32', '0', '1073807360', '120');
 
 
 CREATE TABLE global_attrs (
 CREATE TABLE global_attrs (
     name VARCHAR(32) NOT NULL,
     name VARCHAR(32) NOT NULL,

+ 1 - 0
scripts/oracle/or_create.sql

@@ -140,6 +140,7 @@ INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, f
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_is_hostmaster', '0', 'boolean', 'hostmaster privilege', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_is_hostmaster', '0', 'boolean', 'hostmaster privilege', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_confirmation', '2', 'string', 'registration confirmation', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_confirmation', '2', 'string', 'registration confirmation', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_pending_ts', '2', 'string', 'registration timestamp', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_pending_ts', '2', 'string', 'registration timestamp', '32', '0', '0');
+INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority, ordering) VALUES ('sw_require_conf', '0', 'boolean', '@ff_reg_confirmation', '32', '0', '1073807360', '120');
 
 
 CREATE TABLE global_attrs (
 CREATE TABLE global_attrs (
     name string(32) NOT NULL,
     name string(32) NOT NULL,

+ 1 - 0
scripts/postgres/pg_create.sql

@@ -147,6 +147,7 @@ INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, f
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_is_hostmaster', '0', 'boolean', 'hostmaster privilege', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_is_hostmaster', '0', 'boolean', 'hostmaster privilege', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_confirmation', '2', 'string', 'registration confirmation', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_confirmation', '2', 'string', 'registration confirmation', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_pending_ts', '2', 'string', 'registration timestamp', '32', '0', '0');
 INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority) VALUES ('sw_pending_ts', '2', 'string', 'registration timestamp', '32', '0', '0');
+INSERT INTO attr_types (name, raw_type, rich_type, description, default_flags, flags, priority, ordering) VALUES ('sw_require_conf', '0', 'boolean', '@ff_reg_confirmation', '32', '0', '1073807360', '120');
 
 
 CREATE TABLE global_attrs (
 CREATE TABLE global_attrs (
     name VARCHAR(32) NOT NULL,
     name VARCHAR(32) NOT NULL,