1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"$schema": "https://lix.dev/schema-v1.json",
"key": "lix_file_descriptor",
"columns": [
{
"name": "directory_id",
"type": "uuid",
"nullable": true
},
{
"name": "id",
"type": "uuid",
"nullable": false,
"default_expression": "uuidv7()"
},
{
"name": "name",
"type": "text",
"nullable": false
}
],
"primary_key": [
"id"
],
"unique": [
[
"directory_id",
"name"
]
],
"foreign_keys": [
{
"columns": [
"directory_id"
],
"references": {
"schema_key": "lix_directory_descriptor",
"columns": [
"id"
]
}
}
]
}