add comments field
authorivan <ivan>
Sat, 11 Aug 2001 05:54:45 +0000 (05:54 +0000)
committerivan <ivan>
Sat, 11 Aug 2001 05:54:45 +0000 (05:54 +0000)
bin/fs-setup
httemplate/docs/upgrade8.html

index 9075ca2..314a7c2 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -Tw
 #
-# $Id: fs-setup,v 1.39 2001-07-30 07:42:39 ivan Exp $
+# $Id: fs-setup,v 1.40 2001-08-11 05:53:42 ivan Exp $
 #
 # ivan@sisd.com 97-nov-8,9
 #
 # fix radius attributes ivan@sisd.com 98-sep-27
 #
 # $Log: fs-setup,v $
-# Revision 1.39  2001-07-30 07:42:39  ivan
+# Revision 1.40  2001-08-11 05:53:42  ivan
+# add comments field
+#
+# Revision 1.39  2001/07/30 07:42:39  ivan
 # need an DBIx::DBSchema with delcolumn
 #
 # Revision 1.38  2001/07/30 07:36:04  ivan
@@ -498,6 +501,7 @@ sub tables_hash_hack {
         'tax',      'char', 'NULL', 1,
         'otaker',   'varchar', '',     8,
         'refnum',   'int',  '',     '',
+        'comments', 'varchar', 'NULL', '',
       ],
       'primary_key' => 'custnum',
       'unique' => [ [] ],
index dfeba65..702da5a 100644 (file)
@@ -106,5 +106,10 @@ ALTER TABLE cust_main ADD COLUMN ship_daytime varchar(20) NULL;
 ALTER TABLE cust_main ADD COLUMN ship_night varchar(20) NULL;
 ALTER TABLE cust_main ADD COLUMN ship_fax varchar(12) NULL;
 </pre>
+  <li>If you wish to enable customer comments, apply the following change to
+      your database:
+<pre>
+ALTER TABLE cust_main ADD COLUMN comments varchar NULL;
+</pre>
   <li>Run bin/dbdef-create.
 </body>