Web開発を支えるマイグレーションツールについて / sqldef introduction ...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
yudppp
December 07, 2019

Web開発を支えるマイグレーションツールについて / sqldef introduction for psql users

第11回 PostgreSQLアンカンファレンス@東京で発表する資料
https://pgunconf.connpass.com/event/155951/

yudppp

December 07, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

23 slides
  1. k0kubun/sqldef The easiest idempotent MySQL/PostgreSQL schema management by SQL. This

    is inspired by Ridgepole but using SQL, so there's no need to remember Ruby DSL. 定義したschema.sqlとDB接続した情報を⽐較し ていい感じにALTER⽂を流してくれる Go製なのでbinaryだけで動く
  2. sqldefの内部実装 Vitess(Vitess is a database clustering system for horizontal scaling

    of MySQL)のsqlparser のsourceを拡張して作られている。 information_schema.table_constraintsあた りをSELECTした結果を元にCREATE⽂を Buildしている。

More Decks by yudppp

Other Decks in Programming