001package io.ebeaninternal.dbmigration.ddlgeneration.platform; 002 003import io.ebean.config.dbplatform.DatabasePlatform; 004 005/** 006 * H2 platform specific DDL. 007 */ 008public class H2Ddl extends PlatformDdl { 009 010 public H2Ddl(DatabasePlatform platform) { 011 super(platform); 012 this.historyDdl = new H2HistoryDdl(); 013 } 014 015 /** 016 * Modify and return the column definition for autoincrement or identity definition. 017 */ 018 @Override 019 public String asIdentityColumn(String columnDefn, DdlIdentity identity) { 020 return asIdentityStandardOptions(columnDefn, identity); 021 } 022 023 @Override 024 protected String convertArrayType(String logicalArrayType) { 025 return "array"; 026 } 027}