fix the code style in db.changelog-1.0.xml and

improve the comments in Configuration class.

FEA: ItEr69S06AutocompleteAndPasswords
This commit is contained in:
Susana Montes Pedreira 2011-02-03 17:07:06 +01:00
parent ceb731644b
commit badb1999fa
2 changed files with 12 additions and 11 deletions

View file

@ -20,8 +20,9 @@
package org.navalplanner.business.common;
/**
* It contains the current version of project and implements of singleton
* pattern.
* It contains the compiling option to disable the warning changing default
* password and implements of singleton pattern.
*
* @author Susana Montes Pedreira <smontes@wirelessgalicia.com>
*/
public class Configuration {

View file

@ -65,11 +65,11 @@
<where>limited_resource = true</where>
</update>
<addNotNullConstraint tableName="resource" columnName="resource_type"
columnDataType="VARCHAR(64)" />
columnDataType="VARCHAR(64)" />
<dropColumn tableName="resource" columnName="limited_resource"/>
</changeSet>
<changeSet id="add-new-column-changed_default_admin_password" author="smontes">
<changeSet id="add-new-column-changed_default_admin_password" author="smontes">
<comment>Add new column changed_default_admin_password with default value FALSE to configuration table</comment>
<addColumn tableName="configuration">
<column name="changed_default_admin_password" type="BOOLEAN" />
@ -77,12 +77,12 @@
<addDefaultValue tableName="configuration" columnName="changed_default_admin_password"
defaultValueBoolean="FALSE" />
<addNotNullConstraint tableName="configuration"
columnName="changed_default_admin_password"
columnName="changed_default_admin_password"
defaultNullValue="FALSE"
columnDataType="BOOLEAN" />
</changeSet>
<changeSet id="add-new-column-changed_default_user_password" author="smontes">
<changeSet id="add-new-column-changed_default_user_password" author="smontes">
<comment>Add new column changed_default_user_password with default value FALSE to configuration table</comment>
<addColumn tableName="configuration">
<column name="changed_default_user_password" type="BOOLEAN" />
@ -90,12 +90,12 @@
<addDefaultValue tableName="configuration" columnName="changed_default_user_password"
defaultValueBoolean="FALSE" />
<addNotNullConstraint tableName="configuration"
columnName="changed_default_user_password"
columnName="changed_default_user_password"
defaultNullValue="FALSE"
columnDataType="BOOLEAN" />
</changeSet>
<changeSet id="add-new-column-changed_default_wsreader_password" author="smontes">
<changeSet id="add-new-column-changed_default_wsreader_password" author="smontes">
<comment>Add new column changed_default_wsreader_password with default value FALSE to configuration table</comment>
<addColumn tableName="configuration">
<column name="changed_default_wsreader_password" type="BOOLEAN" />
@ -103,12 +103,12 @@
<addDefaultValue tableName="configuration" columnName="changed_default_wsreader_password"
defaultValueBoolean="FALSE" />
<addNotNullConstraint tableName="configuration"
columnName="changed_default_wsreader_password"
columnName="changed_default_wsreader_password"
defaultNullValue="FALSE"
columnDataType="BOOLEAN" />
</changeSet>
<changeSet id="add-new-column-changed_default_wswriter_password" author="smontes">
<changeSet id="add-new-column-changed_default_wswriter_password" author="smontes">
<comment>Add new column changed_default_wswriter_password with default value FALSE to configuration table</comment>
<addColumn tableName="configuration">
<column name="changed_default_wswriter_password" type="BOOLEAN" />
@ -116,7 +116,7 @@
<addDefaultValue tableName="configuration" columnName="changed_default_wswriter_password"
defaultValueBoolean="FALSE" />
<addNotNullConstraint tableName="configuration"
columnName="changed_default_wswriter_password"
columnName="changed_default_wswriter_password"
defaultNullValue="FALSE"
columnDataType="BOOLEAN" />
</changeSet>