PlantUML:ER図
https://plantuml-proxy.vercel.app/svg/https://scrapbox.io/api/code/suto3/PlantUML:ER図/erd.pu#.svg
code:erd.pu
@startuml
entity user {
* user_id(pk)
--
name
create_at
update_at
}
entity favorite_movie {
* favorite_movie_id(pk)
--
user_id(fk)
name
create_at
update_at
}
user ||--|{ favorite_movie
@enduml