By phpaddict on
Hi all,
I'm writing a custom module for site which retrieve data base on user provided criteria. I've been reading topics with respect to installation script and how to create desire table through drupal. In sample scripts, vid/nid fields are created as a part of every table. I found explanations on why nid needs to be create but I couldn't find anything relating to vid. Can anyone tell me why it is necessary to create vid for each table you create? Any help would be highly appreciated.