Query
CREATE TABLE "group_meal_plan_rules" (
created_at DATETIME,
update_at DATETIME,
id CHAR(32) NOT NULL,
group_id CHAR(32) NOT NULL,
day VARCHAR NOT NULL,
entry_type VARCHAR NOT NULL,
household_id CHAR(32),
query_filter_string VARCHAR DEFAULT '' NOT NULL,
PRIMARY KEY (id),
CONSTRAINT fk_group_meal_plan_rules_household_id FOREIGN KEY(household_id) REFERENCES households (id),
FOREIGN KEY(group_id) REFERENCES groups (id)
)