Using H2 v1.4.191
Trying to delete it shows:
Error: Constraint "UK_1PT73622HFCLVE5LRHRQTITBK" not found; SQL statement:
alter table subscription drop constraint UK_1pt73622hfclve5lrhrqtitbk [90057-187]
SQLState: 90057
ErrorCode: 90057
Error: org.h2.jdbc.JdbcSQLException: Constraint "UK_1PT73622HFCLVE5LRHRQTITBK_INDEX_9" not found; SQL statement:
ALTER TABLE SUBSCRIPTION DROP CONSTRAINT UK_1PT73622HFCLVE5LRHRQTITBK_INDEX_9 [90057-191]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at org.h2.command.ddl.AlterTableDropConstraint.update(AlterTableDropConstraint.java:41)
at org.h2.command.CommandContainer.update(CommandContainer.java:98)
at org.h2.command.Command.executeUpdate(Command.java:258)
at org.h2.server.TcpServerThread.process(TcpServerThread.java:345)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:159)
at java.lang.Thread.run(Thread.java:745)
, SQL State: 90057, Error Code: 90057
It shows up as if it exists and it gets enforced.