SQL config file names

Peter Nixon listuser at peternixon.net
Fri Jul 20 00:46:12 CEST 2007


On Thu 19 Jul 2007, Alan DeKok wrote:
> Peter Nixon wrote:
> > The question is, is it best to do it this way with the database name
> > first, or should we put the database name last, just before the .conf.
> > For example "raddb/sql/counter-mysql.conf"
> >
> > What do you all think?
>
>   Directories are cheap.
>
>   sql/templates/database-thingy.conf
>   sql/database/thingy.conf -> ../../templates/.....
>   sql/thingy/database.conf -> ../../templates/...
>
>   Soft links aren't always friendly (think editing), but they can be
> useful.
>
>   I dislike having configuration files named "foo-bar".  If they're
> really that separate, create a directory structure.  The schemas could
> also go in there, too:
>
>   sql/database/schemas/thingy.sql
>
>   (If that makes sense).
>
>   As for which comes first, the database name or the target
> functionality name, I don't know.  Maybe putting all of the Postgresql,
> etc. files together would make more sense than putting all of the VOIP
> files together...

Yep. Makes sense, and I like it. 

-- 

Peter Nixon
http://peternixon.net/



More information about the Freeradius-Devel mailing list