[Babase] preg upload creates error in cycstats

Karl O. Pinc kop at meme.com
Mon Jan 28 18:53:04 EST 2008


On 01/28/2008 02:29:47 PM, Lacey Maryott wrote:
> I personally think it'd be best if we left it so only admin can  
> change stuff like that, so accidents don't happen.

I think it depends on how much of a hassle it's going to be.

> kfenn wrote:

>> It seems I need to be in the Admin account to delete these rows...  
>> or should I try to change the permissions to let editors delete?  It  
>> seems we can't do it right now.

When I did the initial design I figured that the system itself
would be the only 'person' updating the table.  It's not been adjusted
for not having the table automatically update.

>> So does this also mean I can't delete the entire table using my  
>> kfenn account?

Yes.

See also the SQL TRUNCATE command.  But note that it's super
dangerous because it bypasses all the built-in validation rules
and automatic updating I've added to the database.  In this case
I think it'd be safe to use....  In any case TRUNCATE is
handy because it's super-fast, so you might have occasion
to want to use it.

Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein



More information about the Babase mailing list