7 lines
217 B
SQL
7 lines
217 B
SQL
-- 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);
|