Current time: 11-26-2024, 06:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
Package upgrade
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: Package upgrade
You can write a script to directly modify the corresponding fields in the "ispcp.domain" table. The only pitfall is that you also have to update the "current*" fields of the "ispcp.reseller_props" table (that keep track of the current amount of * assigned by the reseller).

For example, if you add one extra database for a user (update domain set domain_sqld_limit=domain_sqld_limit +1 where domain_id=xxx), you also have to increase by 1 the reseller assigned db count (update reseller_props set current_sql_db_cnt = current_sql_db_cnt + 1 where reseller_id = yyy).
(This post was last modified: 02-17-2010 05:51 PM by kilburn.)
02-17-2010 05:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Package upgrade - kotso - 02-17-2010, 04:36 PM
RE: Package upgrade - BeNe - 02-17-2010, 04:39 PM
RE: Package upgrade - kotso - 02-17-2010, 05:09 PM
RE: Package upgrade - kilburn - 02-17-2010 05:51 PM
RE: Package upgrade - kotso - 02-17-2010, 08:11 PM
RE: Package upgrade - kilburn - 02-17-2010, 08:12 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)