phpDig isn't to buy, not purchasable.
phpDig is a software under GPLv2 license. See
http://www.phpdig.net/scripts/license.txt for more details.
If the next release of phpDig needs some datebase modifications, there will be a script called like /sql/update_to_1.6.x.sql.
Thx
Nicolas