holistics / holistics/dbml

[question] How do I create composite types

Open
#241 0 comments 4 reactions 1 assignee Claimed by @huydo862003 View on GitHub
enhancement
Dominant language
JavaScript
Stars
3.7k
Forks
233
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Is it possible to create structures (like PostgreSQL's composite types) with current DBML syntax? If not is there any workaround?

The equivalent in Postgres:
```sql
CREATE TYPE inventory_item AS (
name text,
supplier_id integer,
price numeric
);
```
I would like to define new types and use them as a type of a column

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.