[freeside-commits] freeside/FS/FS Schema.pm, 1.250, 1.251 dsl_note.pm, 1.2, 1.3

Erik Levinson levinse at wavetail.420.am
Fri Dec 3 15:38:29 PST 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv17849/FS/FS

Modified Files:
	Schema.pm dsl_note.pm 
Log Message:
fix use of reserved sql word in dsl_note schema, RT7111/RT10806


Index: dsl_note.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/dsl_note.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- dsl_note.pm	1 Dec 2010 05:56:09 -0000	1.2
+++ dsl_note.pm	3 Dec 2010 23:38:27 -0000	1.3
@@ -34,7 +34,7 @@
 
 =item svcnum - the DSL for this note, see L<FS::svc_dsl>
 
-=item user - export-specific, e.g. note's author or ISP vs. telco/vendor
+=item author - export-specific, e.g. note's author or ISP vs. telco/vendor
 
 =item priority - export-specific, e.g. high priority or not; not used by most
 
@@ -105,7 +105,7 @@
   my $error = 
     $self->ut_numbern('notenum')
     || $self->ut_foreign_key('svcnum', 'svc_dsl', 'svcnum')
-    || $self->ut_textn('user')
+    || $self->ut_textn('author')
     || $self->ut_alphasn('priority')
     || $self->ut_numbern('_date')
     || $self->ut_text('note')

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -w -d -r1.250 -r1.251
--- Schema.pm	1 Dec 2010 05:56:09 -0000	1.250
+++ Schema.pm	3 Dec 2010 23:38:27 -0000	1.251
@@ -1871,7 +1871,7 @@
       'columns' => [
         'notenum',           'serial',    '',        '', '', '',
 	'svcnum',     'int', '',       '', '', '',
-        'user',     'varchar', 'NULL', $char_d,  '', '',
+        'author',     'varchar', 'NULL', $char_d,  '', '',
         'priority',   'char', 'NULL',       1,  '', '', 
 	'_date',     'int', 'NULL',       '', '', '',
 	'note',     'text', '',       '', '', '',



More information about the freeside-commits mailing list