0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

dbdiagram.ioで作成したDB設計をtablePlusでテーブル作成

Last updated at Posted at 2025-08-23

コンテナ作成

docker run --name local-postgres \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_PASSWORD=postgres \
  -e POSTGRES_DB=mydb \
  -p 5432:5432 \
  -d postgres:16-alpine

試しに接続

docker exec -it local-postgres psql -U postgres -d mydb

tablePlusでDBに接続

CleanShot 2025-08-23 at 09.50.38@2x.png

CleanShot 2025-08-23 at 09.50.01@2x.png

dbdiagram.ioでDB設計

CleanShot 2025-08-23 at 10.05.12@2x.png

dbdiagram.ioで作成したDB設計をtablePlusでテーブル作成

CleanShot 2025-08-23 at 10.21.46@2x.png

CleanShot 2025-08-23 at 10.19.00@2x.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?