You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In two scripts (./db-copy.sh and ./rename-app.sh) there are lists of tables that should be processed in the DB, i.e. room, problem, team etc. According to DRY, they should be listed only once. Ideally, these scripts should treat all the tables with name IPTdev_modelname, where IPTdev is the name of the tournament and modelname is a name of model (that consists of non-capital Latin letters only). Note that tables like IPTdev_pf2_team should not be copied.
As a temporary solution, we can place a file (e.g. tables.txt) into the tournament dir (e.g. IPTdev) with the list of tables, but then we cannot put the comments there; however, we can place a script (e.g. ./list-tables.sh), but this seems to be an overkill.
The text was updated successfully, but these errors were encountered:
In two scripts (
./db-copy.sh
and./rename-app.sh
) there are lists of tables that should be processed in the DB, i.e.room
,problem
,team
etc. According to DRY, they should be listed only once. Ideally, these scripts should treat all the tables with nameIPTdev_modelname
, whereIPTdev
is the name of the tournament andmodelname
is a name of model (that consists of non-capital Latin letters only). Note that tables likeIPTdev_pf2_team
should not be copied.As a temporary solution, we can place a file (e.g.
tables.txt
) into the tournament dir (e.g.IPTdev
) with the list of tables, but then we cannot put the comments there; however, we can place a script (e.g../list-tables.sh
), but this seems to be an overkill.The text was updated successfully, but these errors were encountered: