[sysfink] r211 committed - sysfink - commit CWebMagic upgrade

1 view
Skip to first unread message

sys...@googlecode.com

unread,
Mar 11, 2010, 12:48:26 PM3/11/10
to sys...@googlegroups.com
Revision: 211
Author: mj41.cz
Date: Thu Mar 11 09:47:27 2010
Log: sysfink - commit CWebMagic upgrade
http://code.google.com/p/sysfink/source/detail?r=211

Modified:
/trunk/server/lib/SysFink/DB/SchemaAdd.pm

=======================================
--- /trunk/server/lib/SysFink/DB/SchemaAdd.pm Mon Feb 22 08:08:41 2010
+++ /trunk/server/lib/SysFink/DB/SchemaAdd.pm Thu Mar 11 09:47:27 2010
@@ -2,21 +2,67 @@

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,
} );


Reply all
Reply to author
Forward
0 new messages