RDBBlobStore: when creating META table for SQL Server, assign readable name for PK
@@ -66,6 +66,13 @@ public enum RDBBlobStoreDB {
+ ") not null, DATA varbinary(max) "
+ "constraint " + tableName + "_PK primary key clustered (ID ASC))";
}
+
+ @Override
+ public String getMetaTableCreationStatement(String tableName) {
+ return "create table " + tableName + " (ID varchar(" + RDBBlobStore.IDSIZE
+ + ") not null, LVL int, LASTMOD bigint "
+ + "constraint " + tableName + "_PK primary key clustered (ID ASC))";
+ }
},
MYSQL("MySQL") {
