Class SQLiteDdl
- java.lang.Object
-
- io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
-
- io.ebeaninternal.dbmigration.ddlgeneration.platform.SQLiteDdl
-
public class SQLiteDdl extends PlatformDdl
DB2 platform specific DDL.
-
-
Constructor Summary
Constructors Constructor Description SQLiteDdl(DatabasePlatform platform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumnComment(DdlBuffer apply, String table, String column, String comment)
Add column comment as a separate statement.void
addTableComment(DdlBuffer apply, String tableName, String tableComment)
Add table comment as a separate statement (from the create table statement).String
alterTableAddForeignKey(DdlOptions options, io.ebeaninternal.dbmigration.ddlgeneration.platform.WriteForeignKey request)
Add foreign key.-
Methods inherited from class io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
addHistoryTable, addTablePartition, alterColumnBaseAttributes, alterColumnDefaultValue, alterColumnNotnull, alterColumnType, alterTableAddCheckConstraint, alterTableAddColumn, alterTableAddUniqueConstraint, alterTableDropColumn, alterTableDropConstraint, alterTableDropForeignKey, alterTableDropUniqueConstraint, asIdentityColumn, configure, convert, convertDefaultValue, createCheckConstraint, createDdlHandler, createIndex, createSequence, createWithHistory, dropHistoryTable, dropIndex, dropIndex, dropSequence, dropTable, generateEpilog, generateProlog, getCreateTableCommandPrefix, getPlatform, getUpdateNullWithDefault, inlineTableComment, isIncludeStorageEngine, isInlineComments, isInlineForeignKeys, isInlineUniqueWhenNullable, lockTables, regenerateHistoryTriggers, setLockTimeout, suppressPrimaryKeyOnPartition, tableInlineForeignKey, tableStorageEngine, unlockTables, useIdentityType, writeTableColumns
-
-
-
-
Constructor Detail
-
SQLiteDdl
public SQLiteDdl(DatabasePlatform platform)
-
-
Method Detail
-
addTableComment
public void addTableComment(DdlBuffer apply, String tableName, String tableComment)
Description copied from class:PlatformDdl
Add table comment as a separate statement (from the create table statement).- Overrides:
addTableComment
in classPlatformDdl
-
addColumnComment
public void addColumnComment(DdlBuffer apply, String table, String column, String comment)
Description copied from class:PlatformDdl
Add column comment as a separate statement.- Overrides:
addColumnComment
in classPlatformDdl
-
alterTableAddForeignKey
public String alterTableAddForeignKey(DdlOptions options, io.ebeaninternal.dbmigration.ddlgeneration.platform.WriteForeignKey request)
Description copied from class:PlatformDdl
Add foreign key.- Overrides:
alterTableAddForeignKey
in classPlatformDdl
-
-