diff --git a/zzansuni-api-server/app/src/main/resources/db/migration/V2__add_jwt.sql b/zzansuni-api-server/app/src/main/resources/db/migration/V2__add_jwt.sql index bee4b30..0a46902 100644 --- a/zzansuni-api-server/app/src/main/resources/db/migration/V2__add_jwt.sql +++ b/zzansuni-api-server/app/src/main/resources/db/migration/V2__add_jwt.sql @@ -2,5 +2,5 @@ CREATE TABLE refresh_token ( id CHAR(36) NOT NULL PRIMARY KEY, user_id BIGINT NOT NULL, expired_at TIMESTAMP(0) NOT NULL, - FOREIGN KEY (user_id) REFERENCES user (id) + FOREIGN KEY (user_id) REFERENCES users (id) );