Thread: DB Patch
View Single Post
  #1  
Old 27th July 2012, 15:09
tom123 tom123 is offline
Member
 
Join Date: Feb 2012
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Default DB Patch

I think that DB patches should be managed differently.
Actually, is impossibile to create custom paches, because when a new ISPConfig release will be available, your patch will overwrite the custom ones.

I think that you should create a 'custom' directory where developers can add own patches, that will be run after yours.

For example:

/sql/incremental/upd_0020.sql
/sql/incremental/upd_0020.sql
/sql/incremental/custom/upd_0002.sql
/sql/incremental/custom/upd_0003.sql

or, maybe better:

/sql/incremental/upd_0052.sql
/sql/incremental/upd_0053.sql
/sql/incremental/custom_0012.sql
/sql/incremental/custom_0013.sql
Reply With Quote
Sponsored Links