14 lines
236 B
MySQL
14 lines
236 B
MySQL
|
BEGIN TRANSACTION;
|
||
|
|
||
|
ALTER TABLE "bricktracker_set_owners"
|
||
|
ADD COLUMN "owner_{{ id }}" BOOLEAN NOT NULL DEFAULT 0;
|
||
|
|
||
|
INSERT INTO "bricktracker_metadata_owners" (
|
||
|
"id",
|
||
|
"name"
|
||
|
) VALUES (
|
||
|
'{{ id }}',
|
||
|
'{{ name }}'
|
||
|
);
|
||
|
|
||
|
COMMIT;
|