Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Add column to links table

Quote Reply
Add column to links table
I added a new column to the links table called "Affiliation" that will rate the affiliation of the link to my site from 0 to 5. I will then be able to sort sites by affiliation.

I made it an INT type with text input (similar to the "Hits" column).
My Problem is that in the "Add Record" form the field appears empty, and I want to change that so the default 0 will appear (again, similar to "Hits") so I don't have to enter it manually every time (99% of the links should have the value 0).
How do I do that?

Thanks,
Didi

Quote Reply
Re: Add column to links table In reply to
When you add the column you just fill in the default value as 0

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: Add column to links table In reply to
Thanks, it seems the problem was that I forgot to re-sync after setting 0 as default.