Skip to content

Commit 8e584ee

Browse files
author
Marius Burkard
committed
- updated README for incremental sql files
1 parent f42ab5a commit 8e584ee

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

install/sql/README.txt

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,15 @@ then follow these steps:
99
1) Add the field or table in the ispconfig3.sql file. This file contains the
1010
complete database dump which is used when ISPConfig gets installed.
1111

12-
2) Create a new file in the "incremental" subfolder wich contains the alter
13-
table, or if it is a complete new table then the add table, statement(s) in
14-
MySQL syntax which is/are required to modify the current ispconfig database
15-
during update. The naming scheme of the sql patch update files is
16-
upd_0001.sql, upd_0002.sql, upd_0003.sql etc. Ensure that the number that
17-
you choose for the new file is a +1 increment of the number of the last
18-
existing file and that the number is formatted with 4 digits.
12+
2) Add your ALTER TABLE, or if it is a complete new table then the add table,
13+
statement(s) in MySQL syntax which is/are required to modify the current
14+
ispconfig database during update to the file upd_dev_collection.sql in the
15+
sql/incremental subfolder.
1916

20-
A patch file may contain one or more alter table statements. Every patch file
21-
gets executed once in the database, so do not modify older (already released)
22-
patch files, they will not get executed again if the update was already run
23-
once on a system.
17+
Please do not create new patch sql files as those will be generated on
18+
new releases from the upd_dev_collection.sql file. Also please do not
19+
modify older (already released) patch files, they will not get executed
20+
again if the update was already run once on a system.
2421

2522
After a patch has been executed, the dbversion field in the server table gets
2623
increeased to the version number of the last installed patch.

0 commit comments

Comments
 (0)