From 6742ad69b1bd9a5234605419245642d2377fc202 Mon Sep 17 00:00:00 2001 From: babyfish-ct Date: Sun, 22 Dec 2024 06:09:01 +0800 Subject: [PATCH] Fix unit test error --- project/jimmer-sql/src/test/resources/database.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project/jimmer-sql/src/test/resources/database.sql b/project/jimmer-sql/src/test/resources/database.sql index b629f2575..304a7f2b0 100644 --- a/project/jimmer-sql/src/test/resources/database.sql +++ b/project/jimmer-sql/src/test/resources/database.sql @@ -1402,6 +1402,10 @@ create table person( alter table person add constraint pk_person primary key(id); +alter table person + add constraint fk_person__friend + foreign key(friend_id) + references person(id); insert into person(id, name, friend_id) values (1, 'Alex', null),