mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 22:59:25 +00:00
Fixes for Cockroach platform
This commit is contained in:
1 parent
897a97d415
commit
c82f3783f0
8 files changed
+19
-25
No files matched your search
+6
@@ -36,6 +36,12 @@ public class CockroachDdl extends PlatformDdl {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
public String alterTableDropUniqueConstraint(String tableName, String uniqueConstraintName) {
|
||||
// workaround for: https://github.com/cockroachdb/cockroach/issues/42840
|
||||
return "drop index " + maxConstraintName(uniqueConstraintName) + " cascade";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInlineComments() {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user