[dev] Database script naming proposal

Ben Chavet ben at chavet.net
Fri Sep 17 12:28:35 PDT 2004


Sounds good to me

--Ben

Quoting Chuck Hagenbuch <chuck at horde.org>:

> I'd like to make our .sql scripts as consistent as possible before
> the Horde 3
> release as part of documentation improvements and potential future
> automation.
> So, here are the changes I'd like to make in CVS:
>
> - move all SQL scripts into app/scripts/sql for consistent naming.
> - generic scripts are named either app.sql or table_name.sql
> - database-specific scripts are named script_name.dbdrivername.sql
> - batch scripts *must* cover all tables defined in other scripts in the
> directory and are called create.dbdrivername.sql
>
> "dbdrivername" means the name of the PEAR::DB extension driver for
> that database
> - so, pgsql, oci8 (not oracle), etc.
>
> How's that sound to folks?
>
> -chuck
>
> --
> "But she goes not abroad in search of monsters to destroy." - John
> Quincy Adams
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the dev mailing list