BEGIN TRANSACTION;

ALTER TABLE "bricktracker_set_statuses"
ADD COLUMN "status_{{ id }}" BOOLEAN NOT NULL DEFAULT 0;

INSERT INTO "bricktracker_set_checkboxes" (
    "id",
    "name",
    "displayed_on_grid"
) VALUES (
    '{{ id }}',
    '{{ name }}',
    {{ displayed_on_grid }}
);

COMMIT;