Commit graph

798 commits

Author SHA1 Message Date
Zach Daniel
d472f622f9 chore: fix ash_postgres igniter 2024-09-16 08:55:32 -04:00
Zach Daniel
3afbae2c80 fix: ensure that returning is not an empty list 2024-09-15 20:56:51 -04:00
Zach Daniel
3c0872ab94 chore: update igniter and fix deprecation warning 2024-09-13 19:10:54 -04:00
Zach Daniel
eb3329b4f3 fix: match on table schema as well as table name 2024-09-13 15:51:59 -04:00
Zach Daniel
43f6880308 chore: fix build 2024-09-13 15:11:25 -04:00
Zach Daniel
e2b648a9e4 improvement: remove LEAKPROOF from function to prevent migration issues
chore: add some tests to show calculation w/ fragment
2024-09-13 09:37:32 -04:00
Jonatan Männchen
ec3273f163
feat: Implement Ltree Type (#385) 2024-09-12 09:11:26 -04:00
Ahmed Kamal
8779250fde
docs: fix typo in timestamptz (#384) 2024-09-11 08:57:22 -04:00
Zach Daniel
b35b976547 improvement: support upcoming action_select options 2024-09-10 20:09:32 -04:00
Zach Daniel
b144ee1937 improvement: ensure Repo is started after telemetry
improvement: update to latest igniter functions
2024-09-10 13:40:21 -04:00
Zach Daniel
2d7879ff15 chore: singularize resource name 2024-09-05 13:17:17 -04:00
Zach Daniel
845c6bbdaa chore: fix build 2024-09-05 12:57:15 -04:00
Zach Daniel
a9913a6999 improvement: better imported index names
improvement: add `--extend` option, forwarded to generated resource
2024-09-05 12:54:13 -04:00
Zach Daniel
9191bd3269 chore: perf fixes, build, and test 2024-09-05 00:31:38 -04:00
Zach Daniel
efa4ef03f1 feat: mix ash_postgres.gen.resources 2024-09-04 22:48:09 -04:00
Zach Daniel
133be5094b feat: mix ash_postgres.gen.resources 2024-09-04 20:35:00 -04:00
Zach Daniel
2015aa658c improvement: support ash main upsert_condition logic 2024-09-03 18:02:14 -04:00
Shankar Dhanasekaran
fe1651169b
Remove IO.inspect (#376) 2024-08-28 08:05:18 -04:00
Zach Daniel
cf1207dd60 chore: fix recent type casting logic change 2024-08-26 11:10:54 -04:00
Zach Daniel
1c18bc6227 chore: fix ash_sql call 2024-08-26 10:45:33 -04:00
Zach Daniel
65adf04ee0 fix: ensure default bindings are present on data layer 2024-08-26 10:04:12 -04:00
Zach Daniel
1e286106e6 fix: properly traverse newtypes when determining types
closes #1406
2024-08-25 17:41:36 -04:00
Trond A Ekseth
cb172d274c
docs: Output valid example code in ValidateIdentityIndexNames (#373) 2024-08-22 09:05:53 -04:00
Zach Daniel
b437e3f147 fix: mix ash_postgres.install not adding ash_functions/min_pg_version 2024-08-18 07:43:06 -04:00
Zach Daniel
59d1c3d6cc fix: properly handle new igniter installer functions 2024-08-17 12:05:33 -04:00
Zach Daniel
dda21bc6c4 chore: release version v2.2.1 2024-08-16 15:44:57 -04:00
Zach Daniel
8bf9864732 improvement: include min_pg_version in new generators 2024-08-16 15:39:53 -04:00
Zach Daniel
d2b73fc3c3 fix: set a proper default for skip_unique_indexes 2024-08-15 10:43:22 -04:00
Zach Daniel
10cf60cdc1 fix: remove Agent "convenience" for determining min pg version
We need to require that users provide this function. To that end we're
adding a warning in a minor release branch telling users to define this.
The agent was acting as a bottleneck that all queries must go through,
causing nontrivial performance issues at scale.
2024-08-13 09:58:25 -04:00
Jonatan Männchen
a539f6443e
fix: handle filter condition on create (#368) 2024-08-12 14:48:45 -04:00
Zach Daniel
73c7a915e0 chore: format 2024-08-12 14:45:04 -04:00
Zach Daniel
5e8ac4bf7e fix: we missed a change when preparing for ecto 3.12 parameterized type changes 2024-08-12 14:22:21 -04:00
Jonatan Männchen
2d1c7d48ce
chore: Cleanup Test Output (#366) 2024-08-07 10:38:00 -04:00
Zach Daniel
2ddc53885b improvement: dynamically select and allow setting a repo 2024-07-31 17:48:55 -04:00
Zach Daniel
ac08104b25 fix: don't overwrite non-updated fields on update
improvement: update ash_sql for cleaner queries
2024-07-25 16:16:12 -04:00
Zach Daniel
e49b678351 fix: ensure app is compiled before using repo modules 2024-07-24 17:22:14 -04:00
Zach Daniel
cb397e9387 fix: use a subquery if any exists aggregates are in play
improvement: update ash_sql dependencies for bug fixes
2024-07-23 07:57:57 -04:00
Zach Daniel
1b687b6c2a fix: properly convert tenant to string when building lateral join 2024-07-22 15:38:42 -04:00
Zach Daniel
b00a7e6482 fix: update ash & ash_sql for fixes, test atomic alidations in destroys 2024-07-22 11:49:59 -04:00
Zach Daniel
384344ab6b fix: properly add prod config in installer 2024-07-19 15:11:44 -04:00
Zach Daniel
5d9f2cd693 chore: remove debugging code 2024-07-19 13:30:13 -04:00
Zach Daniel
b3eea1e440 chore: fix build 2024-07-19 13:28:39 -04:00
Zach Daniel
8b5b5b4b6b fix: properly perform or don't perform configuration modification code 2024-07-19 12:34:06 -04:00
Zach Daniel
142e74f026 improvement: prepend :postgres to section order 2024-07-19 08:34:34 -04:00
Jesse Williams
8f79fcb59d
fix: allow non-unique has_many source_attributes (#355)
* fix: allow non-unique has_many source_attributes

* fix composite primary key case
2024-07-18 16:37:31 -04:00
Zach Daniel
c63c988339 improvement: pluralize table name in extender
chore: get build passing & clean up code

closes #354
2024-07-18 12:53:38 -04:00
Zach Daniel
6b100a0559 chore: update changelog 2024-07-15 13:54:29 -04:00
Zach Daniel
ab97b2947b improvement: add binding() expression 2024-07-15 10:25:39 -04:00
Zach Daniel
5a9812f016 fix: ensure synthesized query aggregates have context set 2024-07-15 09:20:39 -04:00
Zach Daniel
252acd423a chore: don't use deprecated function 2024-07-14 22:11:06 -04:00