16 lines
292 B
MySQL
16 lines
292 B
MySQL
|
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;
|