Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sysfink - commit CWebMagic upgrade

  • Loading branch information...
commit e1ebdd128e9fc3322269180436d0ab7eb2cd8137 1 parent db68e31
@mj41 authored
Showing with 52 additions and 6 deletions.
  1. +52 −6 server/lib/SysFink/DB/SchemaAdd.pm
View
58 server/lib/SysFink/DB/SchemaAdd.pm
@@ -2,21 +2,67 @@ package SysFink::DB::SchemaAdd;
use base 'SysFink::DB::Schema';
+
# CWebMagic metadata
package SysFink::DB::Schema::aud;
-__PACKAGE__->cwm_col_type({ 'date' => 'G', });
+__PACKAGE__->cwm_conf( {
+ col_conf => {
+ 'date' => 'G',
+ },
+ max_deep => 2,
+} );
+
+package SysFink::DB::Schema::aud_idata;
+__PACKAGE__->cwm_conf( {
+ max_deep => 4,
+} );
package SysFink::DB::Schema::machine;
-__PACKAGE__->cwm_col_auth({ 'ip' => 'R', });
+__PACKAGE__->cwm_conf( {
+ auth => {
+ 'ip' => 'R',
+ },
+} );
package SysFink::DB::Schema::mconf_change;
-__PACKAGE__->cwm_col_type({ 'date' => 'G', });
+__PACKAGE__->cwm_conf( {
+ col_conf => {
+ 'date' => 'G',
+ },
+} );
+
+package SysFink::DB::Schema::mconf_sec_kv;
+__PACKAGE__->cwm_conf( {
+ max_deep => 5,
+} );
+
+package SysFink::DB::Schema::mconf_sec;
+__PACKAGE__->cwm_conf( {
+ max_deep => 3,
+} );
package SysFink::DB::Schema::user;
-__PACKAGE__->cwm_col_auth({
- 'passwd' => 'R',
- 'who' => 'R',
+__PACKAGE__->cwm_conf( {
+ auth => {
+ 'passwd' => 'R',
+ 'who' => 'R',
+ },
+} );
+
+package SysFink::DB::Schema::path;
+__PACKAGE__->cwm_conf( {
+ col_conf => {
+ 'path_id' => 'S',
+ 'path' => 'G',
+ },
+ #max_deep => 1,
+} );
+
+
+package SysFink::DB::Schema::sc_mitem;
+__PACKAGE__->cwm_conf( {
+ max_deep => 3,
} );
Please sign in to comment.
Something went wrong with that request. Please try again.