|
From: Ben C. <php...@be...> - 2002-05-18 02:37:24
|
The schema change is fine, and yes, please update config.php along with
config-dist.php. Even though it is distributed empty, it is much easier
for those keeping up with cvs (i.e., us) to keep current with database
changes. Thanks for the work!
On Fri, May 17, 2002 at 08:23:49AM -0700, Jirka Pech wrote:
> Update of /cvsroot/phpbt/phpbt
> In directory usw-pr-cvs1:/tmp/cvs-serv9422/phpbt
>
> Modified Files:
> config-dist.php config.php
> Log Message:
> mysql.in:
> - Added TBL_DATABASE for database provider/version tracking and filled in some example lines - "to be replaced" lines. I don't actually know if we want to distribute this table as empty or filled with something.
> - Added closed_in_version_id and to_be_closed_in_version_id columns to TBL_BUG.
> config-dist.php (and config.php):
> - Added TBL_DATABASE to config.
>
> QUESTIONS:
> - Is it correct to change cofig.php (which is distibuted empty), when changed config-dist.php?
> - Is it a good practice to change schemas like I did or we prefer some other way?
>
>
> Index: config-dist.php
> ===================================================================
> RCS file: /cvsroot/phpbt/phpbt/config-dist.php,v
> retrieving revision 1.15
> retrieving revision 1.16
> diff -u -r1.15 -r1.16
> --- config-dist.php 11 Apr 2002 22:03:57 -0000 1.15
> +++ config-dist.php 17 May 2002 15:23:47 -0000 1.16
> @@ -63,6 +63,7 @@
> define ('TBL_USER_PREF', TBL_PREFIX.'user_pref');
> define ('TBL_VERSION', TBL_PREFIX.'version');
> define ('TBL_PROJECT_GROUP', TBL_PREFIX.'project_group');
> +define ('TBL_DATABASE', TBL_PREFIX.'database');
>
> define ('ONEDAY', 86400);
>
>
> Index: config.php
> ===================================================================
> RCS file: /cvsroot/phpbt/phpbt/config.php,v
> retrieving revision 1.29
> retrieving revision 1.30
> diff -u -r1.29 -r1.30
> --- config.php 9 Apr 2002 20:53:07 -0000 1.29
> +++ config.php 17 May 2002 15:23:47 -0000 1.30
> @@ -65,6 +65,7 @@
> define ('TBL_USER_PREF', TBL_PREFIX.'user_pref');
> define ('TBL_VERSION', TBL_PREFIX.'version');
> define ('TBL_PROJECT_GROUP', TBL_PREFIX.'project_group');
> +define ('TBL_DATABASE', TBL_PREFIX.'database');
>
> define ('ONEDAY', 86400);
>
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: ban...@so...
> _______________________________________________
> phpbt-dev mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpbt-dev
|