Class BaseSchemaConverter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.versioning.converters.BaseSqlConverter
-
- jetbrains.buildServer.serverSide.versioning.converters.BaseSchemaConverter
-
- All Implemented Interfaces:
Converter
- Direct Known Subclasses:
IncreaseGroupIdLengthConverter
,MakeAgentTypeIdSameConverter
public abstract class BaseSchemaConverter extends BaseSqlConverter
TheBaseSchemaConverter
can apply a bunch of schema changes (can be a completely new schema) to the set of tables. The only condition is that table names do not change. A new schema is specified as aschema
array. Refactored fromMakeAgentTypeIdSameConverter
to be reused in other converters.- Since:
- 8.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.serverSide.versioning.converters.BaseSqlConverter
mySqlStatements
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseSchemaConverter(String nameOfConverter, String[] schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doConvertSchema(DBFunctions dbf)
-
Methods inherited from class jetbrains.buildServer.serverSide.versioning.converters.BaseSqlConverter
convert, convertInternal, convertInternal, error, error, getSqlStatements, getSqlStatements, info, isDebugEnabled, toString, warn
-
-
-
-
Method Detail
-
doConvertSchema
protected void doConvertSchema(@NotNull DBFunctions dbf) throws Exception
- Throws:
Exception
-
-