[system] / trunk / webwork2 / lib / WeBWorK / DB / Record / Key.pm Repository:
ViewVC logotype

View of /trunk/webwork2/lib/WeBWorK/DB/Record/Key.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3209 - (download) (as text) (annotate)
Tue Mar 29 21:23:34 2005 UTC (14 years, 10 months ago) by jj
File size: 1301 byte(s)
Adding sql types for database entries for use on creation.  Many of them
can probably be tweaked to take up less space (e.g., we don't need 4 bytes
to store the published information).

    1 ################################################################################
    2 # WeBWorK Online Homework Delivery System
    3 # Copyright  2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
    4 # $CVSHeader: webwork-modperl/lib/WeBWorK/DB/Record/Key.pm,v 1.5 2003/12/09 01:12:32 sh002i Exp $
    5 #
    6 # This program is free software; you can redistribute it and/or modify it under
    7 # the terms of either: (a) the GNU General Public License as published by the
    8 # Free Software Foundation; either version 2, or (at your option) any later
    9 # version, or (b) the "Artistic License" which comes with this package.
   10 #
   11 # This program is distributed in the hope that it will be useful, but WITHOUT
   12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
   13 # FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
   14 # Artistic License for more details.
   15 ################################################################################
   16 
   17 package WeBWorK::DB::Record::Key;
   18 use base WeBWorK::DB::Record;
   19 
   20 =head1 NAME
   21 
   22 WeBWorK::DB::Record::Key - represent a record from the key table.
   23 
   24 =cut
   25 
   26 use strict;
   27 use warnings;
   28 
   29 sub KEYFIELDS {qw(
   30   user_id
   31 )}
   32 
   33 sub NONKEYFIELDS {qw(
   34   key
   35   timestamp
   36 )}
   37 
   38 sub FIELDS {qw(
   39   user_id
   40   key
   41   timestamp
   42 )}
   43 
   44 sub SQL_TYPES {qw(
   45   BLOB
   46   TEXT
   47   TEXT
   48 )}
   49 
   50 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9