79257275

Date: 2024-12-06 08:19:15
Score: 0.5
Natty:
Report link

The answer was in log:

cannot alter type of a column used by a view or rule

I've drop the view which was blocking doing alter on colums. After that Hibernate updated database structure and I recreate the view. Since that application starts with parameter "spring.jpa.hibernate.ddl-auto" set to "update" without erros.
According to @M.Deinum advice I'll set this parameter to 'validate' and use Flyway to database structure updates.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Olek