fix use of reserved sql word in dsl_note schema, RT7111/RT10806
[freeside.git] / FS / FS / dsl_note.pm
index 0155cbd..832fced 100644 (file)
@@ -34,7 +34,7 @@ FS::Record.  The following fields are currently supported:
 
 =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 @@ sub check {
   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')