From 5ac28cb3fbbe1fdc681c860a160d09b731658ce5 Mon Sep 17 00:00:00 2001 From: Robin Bygrave Date: Mon, 17 Aug 2015 11:41:31 +1200 Subject: [PATCH] #374 - BaseTableDdl change to protected visibility --- .../dbmigration/ddlgeneration/platform/BaseTableDdl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/avaje/ebean/dbmigration/ddlgeneration/platform/BaseTableDdl.java b/src/main/java/com/avaje/ebean/dbmigration/ddlgeneration/platform/BaseTableDdl.java index 6e62cb704..1a3762dde 100644 --- a/src/main/java/com/avaje/ebean/dbmigration/ddlgeneration/platform/BaseTableDdl.java +++ b/src/main/java/com/avaje/ebean/dbmigration/ddlgeneration/platform/BaseTableDdl.java @@ -38,7 +38,7 @@ public class BaseTableDdl implements TableDdl { protected final PlatformDdl platformDdl; - private final String historyTableSuffix; + protected final String historyTableSuffix; /** * Used to check that indexes on foreign keys should be skipped as a unique index on the columns @@ -159,7 +159,7 @@ public class BaseTableDdl implements TableDdl { * Specific handling of OneToOne unique constraints for MsSqlServer. * For all other DB platforms these unique constraints are done inline as per normal. */ - private void writeUniqueOneToOneConstraints(DdlWrite write, CreateTable createTable) throws IOException { + protected void writeUniqueOneToOneConstraints(DdlWrite write, CreateTable createTable) throws IOException { String tableName = createTable.getName(); for (Column col : externalUnique) { @@ -175,7 +175,7 @@ public class BaseTableDdl implements TableDdl { } } - private void writeSequence(DdlWrite writer, CreateTable createTable, String pk) throws IOException { + protected void writeSequence(DdlWrite writer, CreateTable createTable, String pk) throws IOException { // explicit sequence use or platform decides String explicitSequenceName = createTable.getSequenceName(); @@ -194,7 +194,7 @@ public class BaseTableDdl implements TableDdl { } } - private void createWithHistory(DdlWrite writer, String name) throws IOException { + protected void createWithHistory(DdlWrite writer, String name) throws IOException { MTable table = writer.getTable(name); platformDdl.createWithHistory(writer, table);