Liquibase 更新列中的值更改
Value changes in Update column in Liquibase
我在我的应用程序中使用 liquibase。这是我的代码片段:
- update:
columns:
- column:
name: is_active
value: Yes
type: VARCHAR
tableName: vehicles
我正在将 is_active 列更新为 Yes 值。但它在数据库中插入 true 。我正在使用 PostgreSQL.
我使用 'Yes' 而不是 Yes,问题已解决
我在我的应用程序中使用 liquibase。这是我的代码片段:
- update:
columns:
- column:
name: is_active
value: Yes
type: VARCHAR
tableName: vehicles
我正在将 is_active 列更新为 Yes 值。但它在数据库中插入 true 。我正在使用 PostgreSQL.
我使用 'Yes' 而不是 Yes,问题已解决