7 lines
217 B
MySQL
7 lines
217 B
MySQL
|
-- SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
||
|
--
|
||
|
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||
|
|
||
|
ALTER TABLE items
|
||
|
ADD original_packaging UUID REFERENCES items(id) CHECK (original_packaging <> id);
|