--liquibase formatted sql

--changeset fpsms:inventory_adjust_authority
--preconditions onFail:MARK_RAN
--precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM authority WHERE authority = 'INVENTORY_ADJUST'
--comment: Add independent permission for stock adjustment (inventory adjustment)
INSERT IGNORE INTO `authority` (`authority`, `name`, `module`, `description`)
VALUES ('INVENTORY_ADJUST', '庫存調整', 'INVENTORY', 'Allow submitting stock adjustments (POST /stockAdjustment/submit)');

