dbschema 0.1.0

Define database schema's as HCL files, and generate idempotent SQL migrations
Documentation
1
2
3
4
5
6
7
8
extension "pgcrypto" {}

test "pgcrypto" {
  assert = [
    "SELECT EXISTS (SELECT 1 FROM pg_extension WHERE extname = 'pgcrypto')",
    "SELECT gen_random_uuid() IS NOT NULL"
  ]
}