Skip to content

Commit 277c055

Browse files
committed
fix: add failing test for exists expansnion inside of calculations
1 parent defb1db commit 277c055

File tree

15 files changed

+863
-0
lines changed

15 files changed

+863
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"attributes": [
3+
{
4+
"allow_nil?": false,
5+
"default": "fragment(\"gen_random_uuid()\")",
6+
"generated?": false,
7+
"precision": null,
8+
"primary_key?": true,
9+
"references": null,
10+
"scale": null,
11+
"size": null,
12+
"source": "id",
13+
"type": "uuid"
14+
},
15+
{
16+
"allow_nil?": false,
17+
"default": "nil",
18+
"generated?": false,
19+
"precision": null,
20+
"primary_key?": false,
21+
"references": null,
22+
"scale": null,
23+
"size": null,
24+
"source": "name",
25+
"type": "text"
26+
}
27+
],
28+
"base_filter": null,
29+
"check_constraints": [],
30+
"custom_indexes": [],
31+
"custom_statements": [],
32+
"has_create_action": true,
33+
"hash": "C0AD1AD07773C89729452B795DC3C5AA65F036F0F7329CC508BE4C8F639E1E9A",
34+
"identities": [],
35+
"multitenancy": {
36+
"attribute": null,
37+
"global": null,
38+
"strategy": null
39+
},
40+
"repo": "Elixir.AshPostgres.TestRepo",
41+
"schema": null,
42+
"table": "food_categories"
43+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"attributes": [
3+
{
4+
"allow_nil?": false,
5+
"default": "fragment(\"gen_random_uuid()\")",
6+
"generated?": false,
7+
"precision": null,
8+
"primary_key?": true,
9+
"references": null,
10+
"scale": null,
11+
"size": null,
12+
"source": "id",
13+
"type": "uuid"
14+
},
15+
{
16+
"allow_nil?": false,
17+
"default": "nil",
18+
"generated?": false,
19+
"precision": null,
20+
"primary_key?": false,
21+
"references": null,
22+
"scale": null,
23+
"size": null,
24+
"source": "name",
25+
"type": "text"
26+
},
27+
{
28+
"allow_nil?": false,
29+
"default": "nil",
30+
"generated?": false,
31+
"precision": null,
32+
"primary_key?": false,
33+
"references": {
34+
"deferrable": false,
35+
"destination_attribute": "id",
36+
"destination_attribute_default": null,
37+
"destination_attribute_generated": null,
38+
"index?": false,
39+
"match_type": null,
40+
"match_with": null,
41+
"multitenancy": {
42+
"attribute": null,
43+
"global": null,
44+
"strategy": null
45+
},
46+
"name": "food_items_food_category_id_fkey",
47+
"on_delete": null,
48+
"on_update": null,
49+
"primary_key?": true,
50+
"schema": "public",
51+
"table": "food_categories"
52+
},
53+
"scale": null,
54+
"size": null,
55+
"source": "food_category_id",
56+
"type": "uuid"
57+
}
58+
],
59+
"base_filter": null,
60+
"check_constraints": [],
61+
"custom_indexes": [],
62+
"custom_statements": [],
63+
"has_create_action": true,
64+
"hash": "A764D687C75A1542B034A45668E7739BB8C80D19D8B7688D528ADF04E2599202",
65+
"identities": [],
66+
"multitenancy": {
67+
"attribute": null,
68+
"global": null,
69+
"strategy": null
70+
},
71+
"repo": "Elixir.AshPostgres.TestRepo",
72+
"schema": null,
73+
"table": "food_items"
74+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"attributes": [
3+
{
4+
"allow_nil?": false,
5+
"default": "fragment(\"gen_random_uuid()\")",
6+
"generated?": false,
7+
"precision": null,
8+
"primary_key?": true,
9+
"references": null,
10+
"scale": null,
11+
"size": null,
12+
"source": "id",
13+
"type": "uuid"
14+
},
15+
{
16+
"allow_nil?": false,
17+
"default": "nil",
18+
"generated?": false,
19+
"precision": null,
20+
"primary_key?": false,
21+
"references": {
22+
"deferrable": false,
23+
"destination_attribute": "id",
24+
"destination_attribute_default": null,
25+
"destination_attribute_generated": null,
26+
"index?": false,
27+
"match_type": null,
28+
"match_with": null,
29+
"multitenancy": {
30+
"attribute": null,
31+
"global": null,
32+
"strategy": null
33+
},
34+
"name": "meal_items_food_item_id_fkey",
35+
"on_delete": null,
36+
"on_update": null,
37+
"primary_key?": true,
38+
"schema": "public",
39+
"table": "food_items"
40+
},
41+
"scale": null,
42+
"size": null,
43+
"source": "food_item_id",
44+
"type": "uuid"
45+
}
46+
],
47+
"base_filter": null,
48+
"check_constraints": [],
49+
"custom_indexes": [],
50+
"custom_statements": [],
51+
"has_create_action": true,
52+
"hash": "7FD8D8743BF6F640231EB321F8DC3BD5095ADCBFBB51D643A9A5D0AAA2EDE89B",
53+
"identities": [],
54+
"multitenancy": {
55+
"attribute": null,
56+
"global": null,
57+
"strategy": null
58+
},
59+
"repo": "Elixir.AshPostgres.TestRepo",
60+
"schema": null,
61+
"table": "meal_items"
62+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"attributes": [
3+
{
4+
"allow_nil?": false,
5+
"default": "fragment(\"gen_random_uuid()\")",
6+
"generated?": false,
7+
"precision": null,
8+
"primary_key?": true,
9+
"references": null,
10+
"scale": null,
11+
"size": null,
12+
"source": "id",
13+
"type": "uuid"
14+
},
15+
{
16+
"allow_nil?": false,
17+
"default": "nil",
18+
"generated?": false,
19+
"precision": null,
20+
"primary_key?": false,
21+
"references": {
22+
"deferrable": false,
23+
"destination_attribute": "id",
24+
"destination_attribute_default": null,
25+
"destination_attribute_generated": null,
26+
"index?": false,
27+
"match_type": null,
28+
"match_with": null,
29+
"multitenancy": {
30+
"attribute": null,
31+
"global": null,
32+
"strategy": null
33+
},
34+
"name": "meal_items_meal_id_fkey",
35+
"on_delete": null,
36+
"on_update": null,
37+
"primary_key?": true,
38+
"schema": "public",
39+
"table": "meals"
40+
},
41+
"scale": null,
42+
"size": null,
43+
"source": "meal_id",
44+
"type": "uuid"
45+
},
46+
{
47+
"allow_nil?": false,
48+
"default": "nil",
49+
"generated?": false,
50+
"precision": null,
51+
"primary_key?": false,
52+
"references": {
53+
"deferrable": false,
54+
"destination_attribute": "id",
55+
"destination_attribute_default": null,
56+
"destination_attribute_generated": null,
57+
"index?": false,
58+
"match_type": null,
59+
"match_with": null,
60+
"multitenancy": {
61+
"attribute": null,
62+
"global": null,
63+
"strategy": null
64+
},
65+
"name": "meal_items_food_item_id_fkey",
66+
"on_delete": null,
67+
"on_update": null,
68+
"primary_key?": true,
69+
"schema": "public",
70+
"table": "food_items"
71+
},
72+
"scale": null,
73+
"size": null,
74+
"source": "food_item_id",
75+
"type": "uuid"
76+
}
77+
],
78+
"base_filter": null,
79+
"check_constraints": [],
80+
"custom_indexes": [],
81+
"custom_statements": [],
82+
"has_create_action": true,
83+
"hash": "80EEF038E8EFD6A4BCBFDDB9383579B103A4AAC26E8B11C8787578F336EDF306",
84+
"identities": [],
85+
"multitenancy": {
86+
"attribute": null,
87+
"global": null,
88+
"strategy": null
89+
},
90+
"repo": "Elixir.AshPostgres.TestRepo",
91+
"schema": null,
92+
"table": "meal_items"
93+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"attributes": [
3+
{
4+
"allow_nil?": false,
5+
"default": "fragment(\"gen_random_uuid()\")",
6+
"generated?": false,
7+
"precision": null,
8+
"primary_key?": true,
9+
"references": null,
10+
"scale": null,
11+
"size": null,
12+
"source": "id",
13+
"type": "uuid"
14+
},
15+
{
16+
"allow_nil?": false,
17+
"default": "nil",
18+
"generated?": false,
19+
"precision": null,
20+
"primary_key?": false,
21+
"references": null,
22+
"scale": null,
23+
"size": null,
24+
"source": "name",
25+
"type": "text"
26+
}
27+
],
28+
"base_filter": null,
29+
"check_constraints": [],
30+
"custom_indexes": [],
31+
"custom_statements": [],
32+
"has_create_action": true,
33+
"hash": "5EC21805FBF1D973E60F8D0E19EE83CF145661BFB4FA01AC0C5D8979A52F995A",
34+
"identities": [],
35+
"multitenancy": {
36+
"attribute": null,
37+
"global": null,
38+
"strategy": null
39+
},
40+
"repo": "Elixir.AshPostgres.TestRepo",
41+
"schema": null,
42+
"table": "meals"
43+
}

0 commit comments

Comments
 (0)