#13934·bytebase

Migrations with default boolean are failed as volatile

Author: tommoorCreated Oct 1, 2024Updated Sep 24, 2026

Provide the Bytebase version you are using

v2.23.0

Describe the bug

When adding a migration with a default boolean value this is detected as volatile, creating a review violation. Booleans are deterministic and not considered volatile.

image

Steps to reproduce

  1. Go to change data
  2. Create a migration with a boolean default, e.g. ALTER TABLE "team_membership" ADD "test" boolean NOT NULL DEFAULT false;
  3. Click "Run checks"

Expected behavior

It passes checks

Provide the database you are using

PostgreSQL

Provide the version control system you are using

No response

Additional context

Enterprise license