577 B
577 B
ADDED Requirements
Requirement: sms_enabled column
The tags table SHALL include an sms_enabled boolean column, NOT NULL with default TRUE. The schema SHALL add it idempotently so existing databases migrate cleanly.
Scenario: Fresh database
- WHEN
db/schema.sqlis applied to an empty database - THEN
tags.sms_enabledexists, defaulting to TRUE
Scenario: Existing database
- WHEN
db/schema.sqlis re-applied to a database created before this column existed - THEN the column is added without error and existing rows default to TRUE