개발자가 되기까지 (2023.08.16~2024.04.15)/[Spring] Basic Web2024. 1. 23. 01:45[Spring] 23. Security 설정 (customAuthMemberServic 제외)
sql CREATE TABLE member ( email VARCHAR(100) NOT NULL, pwd VARCHAR(1000) NOT NULL, nick_name VARCHAR(100) NOT NULL, reg_at DATETIME DEFAULT now(), last_login DATETIME DEFAULT NULL, PRIMARY KEY(email) ); CREATE TABLE auth_member( email VARCHAR(100) NOT NULL, auth VARCHAR(50) NOT NULL ); ALTER TABLE auth_member ADD CONSTRAINT fk_auth FOREIGN KEY (email) REFERENCES member(email); pom.xml org.spring..