doc: explain how to use enum types properly (#4137)

This commit is contained in:
Ariel Mashraki
2024-07-12 18:27:08 +03:00
committed by GitHub
parent e57ff4adce
commit 4ce0013c76
30 changed files with 3558 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
data "composite_schema" "app" {
# Load first custom types first.
schema "public" {
url = "file://schema.sql"
}
# Second, load the Ent schema.
schema "public" {
url = "ent://ent/schema"
}
}
env "local" {
src = data.composite_schema.app.url
dev = "docker://postgres/15/dev?search_path=public"
}