freeside/FS/bin freeside-setup,1.46,1.47
ivan
ivan at pouncequick.420.am
Tue Feb 8 12:22:50 PST 2005
- Previous message: freeside/httemplate/docs upgrade10.html,1.38,1.39 schema.html,1.46,1.47 install.html,1.80,1.81
- Next message: freeside/FS/t clientapi_session.t,NONE,1.1 clientapi_session_field.t,NONE,1.1 ClientAPI_SessionCache.t,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory pouncequick:/tmp/cvs-serv9349/FS/bin
Modified Files:
freeside-setup
Log Message:
make self-service session cache module configurable, start framework for in-database session cache
Index: freeside-setup
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-setup,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- freeside-setup 29 Jan 2005 12:34:10 -0000 1.46
+++ freeside-setup 8 Feb 2005 20:22:45 -0000 1.47
@@ -142,7 +142,11 @@
}
#create history tables (false laziness w/create-history-tables)
-foreach my $table ( grep { ! /^h_/ } $dbdef->tables ) {
+foreach my $table (
+ grep { ! /^clientapi_session/ }
+ grep { ! /^h_/ }
+ $dbdef->tables
+) {
my $tableobj = $dbdef->table($table)
or die "unknown table $table";
@@ -1228,6 +1232,29 @@
'primary_key' => '',
'unique' => [ [ 'codenum', 'pkgpart' ] ],
'index' => [ [ 'codenum' ] ],
+ },
+
+ 'clientapi_session' => {
+ 'columns' => [
+ 'sessionnum', 'serial', '', '',
+ 'sessionid', 'varchar', '', $char_d,
+ 'namespace', 'varchar', '', $char_d,
+ ],
+ 'primary_key' => 'sessionnum',
+ 'unique' => [ [ 'sessionid', 'namespace' ] ],
+ 'index' => [],
+ },
+
+ 'clientapi_session_field' => {
+ 'columns' => [
+ 'fieldnum', 'serial', '', '',
+ 'sessionnum', 'int', '', '',
+ 'fieldname', 'varchar', '', $char_d,
+ 'fieldvalue', 'text', 'NULL', '',
+ ],
+ 'primary_key' => 'fieldnum',
+ 'unique' => [ [ 'sessionnum', 'fieldname' ] ],
+ 'index' => [],
},
);
- Previous message: freeside/httemplate/docs upgrade10.html,1.38,1.39 schema.html,1.46,1.47 install.html,1.80,1.81
- Next message: freeside/FS/t clientapi_session.t,NONE,1.1 clientapi_session_field.t,NONE,1.1 ClientAPI_SessionCache.t,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list