[mythtv] Fwd: [PATCH] Add profile groups

Bruce Markey bjm at lvcm.com
Tue Sep 16 13:49:48 EDT 2003


Geoffrey Hausheer wrote:
> Okay, this is likely to be the last patch I make for the profile-groups,
> assuming no bugs crop up.
> 
> This patch implements the ability to delete profile groups (hit 'D'). 
> You can't delete default groups, of course.
> It will also prevent creating duplicate profile groups.
> 
> To my knowledge, the only thing lacking is a set of sql commands which
> will allow an upgrade, and allow that cvs.sql be loaded multiple times
> without resetting the profiles each time.

Well, this may be moot now but I think you could simply remove:

DROP TABLE IF EXISTS profilegroups;

The "CREATE TABLE profilegroups" would succeed if the upgrade
hadn't happened and it would go on to drop the old recordingprofiles
table. After the upgrade, "CREATE TABLE profilegroups" would fail
and exit if the table already existed.

--  bjm



More information about the mythtv-dev mailing list