lib/hanami/model/sql.rb in hanami-model-0.7.0 vs lib/hanami/model/sql.rb in hanami-model-1.0.0.beta1

- old
+ new

@@ -143,9 +143,11 @@ Error.register(ROM::SQL::ConstraintError, ConstraintViolationError) Error.register(ROM::SQL::NotNullConstraintError, NotNullConstraintViolationError) Error.register(ROM::SQL::UniqueConstraintError, UniqueConstraintViolationError) Error.register(ROM::SQL::CheckConstraintError, CheckConstraintViolationError) Error.register(ROM::SQL::ForeignKeyConstraintError, ForeignKeyConstraintViolationError) + Error.register(ROM::SQL::UnknownDBTypeError, UnknownDatabaseTypeError) + Error.register(ROM::SQL::MissingPrimaryKeyError, MissingPrimaryKeyError) Error.register(Java::JavaSql::SQLException, DatabaseError) if Utils.jruby? end end