snapshot of https://github.com/ent/ent.git (master, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
4
examples/compositetypes/migrations/20240713195943.sql
Normal file
4
examples/compositetypes/migrations/20240713195943.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- Create composite type "address"
|
||||
CREATE TYPE "address" AS ("street" text, "city" text);
|
||||
-- Create "users" table
|
||||
CREATE TABLE "users" ("id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY, "address" "address" NOT NULL, PRIMARY KEY ("id"));
|
||||
2
examples/compositetypes/migrations/atlas.sum
Normal file
2
examples/compositetypes/migrations/atlas.sum
Normal file
@@ -0,0 +1,2 @@
|
||||
h1:X1W58Zqp4BF3gibvd70sjdk5QwIjnEeUyArvRHuOueo=
|
||||
20240713195943.sql h1:/RJVRQOqFXsGaSUq3azgZHdOSZenS0AdKuztEZ4uJi4=
|
||||
Reference in New Issue
Block a user