added information regarding updating the database schema

This commit is contained in:
Jeremy Long
2015-10-12 06:13:06 -04:00
parent 8c2b2070c6
commit cca49b5dc2
2 changed files with 13 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ To setup a centralized database the following generalized steps can be used:
</ul>
</li></ol>
Depending on the database being used, you may need to customize the [dbStatements.properties](https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-core/src/main/resources/data/dbStatements.properties).
Alternatively to modifying the dbStatements.properties it is now possible to use a dialect file to support other databases.
See [dbStatements_h2.properties](https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-core/src/main/resources/data/dbStatements_h2.properties)
as an example.
Also, if using an external database you will need to manually upgrade the schema. See [database upgrades](./upgrade.html) for more information.
As always, feel free to open an [issue](https://github.com/jeremylong/DependencyCheck/issues)
or post a question to the [dependency-check google group](https://groups.google.com/forum/#!forum/dependency-check).

View File

@@ -0,0 +1,8 @@
Database Upgrades
=================
If using an external database server, such as MySQL, a DBA must manually perform
the database upgrades. Currently, a copy of the initialization and upgrade scripts
for MySQL can be found in the [github repository](https://github.com/jeremylong/DependencyCheck/tree/master/dependency-check-core/src/main/resources/data).
If you want to use an external database other then MySQL please open an issue in our [issue tracker](https://github.com/jeremylong/DependencyCheck/issues)
as a dialect properties file will need to be created.