Skip to content

Commit ebb1d09

Browse files
committed
fix default value
1 parent c2b9222 commit ebb1d09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

liquibase/changes_user/feat_1694.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ CREATE TABLE feature_flag (
77
id TEXT PRIMARY KEY, -- human-readable slug, e.g. 'beta_editor'
88
name TEXT, -- optional display label
99
description TEXT,
10-
value_type TEXT NOT NULL DEFAULT 'string'
10+
value_type TEXT NOT NULL DEFAULT 'boolean'
1111
CHECK (value_type IN ('boolean','string','numeric','array','json')),
1212
disabled BOOLEAN NOT NULL DEFAULT false,
13-
default_value JSONB NOT NULL DEFAULT 'string',
13+
default_value JSONB NOT NULL DEFAULT 'false'::jsonb,
1414
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
1515
);
1616

0 commit comments

Comments
 (0)