Commit graph

849 commits

Author SHA1 Message Date
Zach Daniel
7fc590d632 fix: use proper list of row level locks 2023-05-16 15:19:47 -04:00
Zach Daniel
0db9d0d03f improvement: support more lock types 2023-05-16 15:14:45 -04:00
Zach Daniel
41a2e4f1d1 fix: check changeset.action_type not changeset.action.type 2023-05-15 15:59:21 -04:00
Zach Daniel
b457c3052e test: fix tests using filter option on aggregates 2023-05-10 23:14:55 -04:00
Zach Daniel
4aad75e3d3 chore: release version v1.3.25 2023-05-08 15:55:05 -04:00
Zach Daniel
333c3ad95d improvement: support changeset.filters (for optimistic locking) 2023-05-08 15:54:43 -04:00
Zach Daniel
95510f9e4d chore: update ash 2023-05-02 22:20:25 -04:00
Zach Daniel
f1be865036 chore: release version v1.3.24 2023-05-02 22:19:25 -04:00
Zach Daniel
2bf6725fcb chore: fix bulk upserts 2023-05-02 22:19:01 -04:00
Zach Daniel
08a0a926e5 improvement: support bulk upserts 2023-05-02 22:16:21 -04:00
Zach Daniel
e962fee069 chore: release version v1.3.23 2023-05-01 18:06:35 -04:00
Zach Daniel
d969b2eef9 fix: don't incorrectly mark references as primary key references 2023-05-01 18:03:55 -04:00
Zach Daniel
aed14f7ffd test: add test to confirm lateral join fix in Ash 2023-05-01 14:11:33 -04:00
Zach Daniel
ab18c85bd4 chore: remove commented out code 2023-05-01 14:03:39 -04:00
Zach Daniel
cd821cc153 fix: go back to old migration sorting algorithm
closes: #139
2023-05-01 10:51:09 -04:00
Zach Daniel
a0fc28a503 chore: release version v1.3.22 2023-04-27 21:50:13 -04:00
Zach Daniel
805de0f2f1 improvement: support locking 2023-04-27 21:49:13 -04:00
Zach Daniel
3f5345a0e9 chore: release version v1.3.21 2023-04-26 22:25:52 -04:00
Zach Daniel
5d50b98298 improvement: handle new spark versions better, more explicit snapshots 2023-04-26 22:23:43 -04:00
Zach Daniel
5e8abf5b5b chore: release version v1.3.20 2023-04-22 01:18:25 -06:00
Zach Daniel
d417361012 fix: subquery aggregates when a distinct is being added 2023-04-22 01:17:38 -06:00
Zach Daniel
903b1dd2e7 improvement: update ash
test: update tests
2023-04-21 10:43:58 -06:00
Zach Daniel
cd54969b03 test: add test for runtime calculation using query 2023-04-20 11:37:46 -06:00
Zach Daniel
aec9e1578e improvement: don't call .table on nil snapshot 2023-04-19 17:32:37 -06:00
Zach Daniel
86e02d2fe9 fix: don't call .table on nil 2023-04-18 22:44:19 -04:00
Zach Daniel
3be85c477a fix: wrap datetime_add in parenthesis 2023-04-16 15:38:25 -04:00
Zach Daniel
4f3a21443e chore: unlock unused 2023-04-12 10:58:55 -04:00
Zach Daniel
d954825b7e chore: update ecto in lock & fix warnings
fixes: #138
2023-04-12 10:44:43 -04:00
Zach Daniel
525dcc9f91 improvement: use digraph for operation ordering
fix: handle primary key changes properly

Doing this involves dropping all foreign keys using it, and dropping the existing
primary key before creating the new one.
2023-04-11 17:41:53 -04:00
Zach Daniel
e154c15fc9 chore: release version v1.3.19 2023-04-07 11:05:38 -04:00
Zach Daniel
7952a515fe fix: properly handle newtypes, add test 2023-04-07 10:56:06 -04:00
Zach Daniel
c72210adff chore: keep constraints on attribute in migration generator 2023-04-07 10:29:45 -04:00
Zach Daniel
bb2e3a3b9b fix: honor newtypes when determining migration type 2023-04-07 10:12:32 -04:00
Zach Daniel
a9cbf9b7c7 fix: handle nil ash_functions_version in another place 2023-04-06 12:13:26 -04:00
Zach Daniel
f19426789a fix: handle nil ash_functions_version 2023-04-06 12:10:13 -04:00
Zach Daniel
a2e4ee4704 chore: fix dialyzer 2023-04-05 12:32:28 -04:00
Zach Daniel
31fdbec62e chore: credo 2023-04-05 12:21:35 -04:00
Zach Daniel
4ccec4fe8b improvement: update ash
chore: fix tests
2023-04-04 21:49:24 -04:00
Zach Daniel
58ee514004 chore: update mix.lock 2023-03-31 16:12:01 -04:00
Zach Daniel
0cf98d67a0 chore: update mix.lock 2023-03-31 12:37:24 -04:00
Zach Daniel
2e37bf27e9 chore: set ash version back 2023-03-31 12:17:52 -04:00
Barnabas Jovanovics
e2ee0016ea
test: add test that reproduces dependent select problem (#136) 2023-03-31 12:12:13 -04:00
Zach Daniel
124e29c1ad chore: release version v1.3.18 2023-03-23 17:20:56 -04:00
Zach Daniel
422281bde6 chore: update mix.lock 2023-03-23 17:19:58 -04:00
Zach Daniel
9faf783c54 chore: unlock spark dependency 2023-03-23 17:19:45 -04:00
Zach Daniel
54150b20ca chore: small improvement inspect/errors on ecto changeset 2023-03-20 16:11:05 -04:00
Zach Daniel
ae881a4ce5 chore: release version v1.3.17 2023-03-20 12:17:52 -04:00
Zach Daniel
5046273ed0 fix: properly map parent bindings in exists 2023-03-17 17:06:06 -04:00
Zach Daniel
bf9fbf682c chore: release version v1.3.16 2023-03-03 12:12:39 -05:00
Zach Daniel
3ff49c4fcb improvement: support new date expressions 2023-03-03 12:11:29 -05:00