Difference between revisions of "Freeside:1.7:Documentation:Developer:Schema changes"

From Freeside
Jump to: navigation, search
(Spam removal)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
* [http://trocpasdomd.com/vioulet.html bocnoricdr]
 
http://dronnodro.com/orelzelourac.html[bocnoricdr] [[http://dronnodro.com/orelzelourac.html][bocnoricdr]]
 
* http://vartraleltde.com/getsitc.html bocnoricdr
 
* [[http://carovarord.com/dardomlaboro.html bocnoricdr]]
 
* [[http://roracl.com/pasroco.html|bocnoricdr]]
 
* [[http://alzeleltou.com/litrac.html | bocnoricdr]]
 
* [http://lipasn.com/trocelrora.html|bocnoricdr]
 
* [bocnoricdr|http://boliroorri.com/tadron.html]
 
* ((http://licraco.com/ereroloel.html bocnoricdr))
 
* [bocnoricdr](http://laourolra.com/rorelm.html "bocnoricdr")
 
"bocnoricdr":http://domoracsit.com/zelbasr.html
 
 
 
=== Schema.pm ===
 
=== Schema.pm ===
  

Latest revision as of 11:24, 20 July 2009

Schema.pm

  • Required
  • Edit the big data structure in FS/FS/Schema.pm and add your tables and columns

Essential documentation

  • The upgrade script will automatically handle new tables as well as new columns, removed columns and changes to indices. Column changes (other than NULLability) are not handled.
  • If other schema changes are required (such as changed columns, renamed or removed tables, etc.), add a quick note to the upgrade instructions at Freeside:1.7:Documentation:Upgrading and/or Freeside:1.9:Documentation:Upgrading-HEAD

Skeleton class autogeneration

  • For new tables. Optional but recommended. We're trying to save you work!
  • Make sure the tables have been added to FS/FS/Schema.pm and run make install-perl-modules
  • From the root freeside directory, run bin/generate-table-module tablename for each table.
  • Edit the resulting FS/FS/table.pm
  • FS/MANIFEST is updated and FS/t/table.t is added. Don't forget to cvs add FS/FS/table.pm and FS/t/table.t and check them in.

Required Documentation

  • For new tables: add to FS/FS.pm

Optional: Documentation looking for adopters or innovative autogeneration

  • somehwat neglected: httemplate/docs/schema.html
  • really neglected: httemplate/docs/schema.dia