Zach Daniel
|
da07ed7b6c
|
fix: handle various join bugs
|
2022-06-29 15:08:49 -04:00 |
|
Zach Daniel
|
71ddb28332
|
fix: use attribute.name if attribute.source is nil
|
2022-06-28 15:57:30 -04:00 |
|
Zach Daniel
|
d023949667
|
fix: set attribute source properly
|
2022-06-28 15:10:26 -04:00 |
|
Zach Daniel
|
abf5fdf346
|
fix: ensure source is always set on attributes in snapshots
|
2022-06-21 22:33:24 -04:00 |
|
Zach Daniel
|
5d435d92b6
|
fix: handle paths for aggregates w/ > 2 relationships
|
2022-06-16 00:00:45 -04:00 |
|
Rebecca Le
|
d30dce6e91
|
docs: Fix docs for name option to generate_migrations (#100)
|
2022-06-15 10:29:49 -04:00 |
|
Zach Daniel
|
10c7e75f4a
|
chore: small cleanups
|
2022-06-04 16:58:03 -04:00 |
|
Rebecca Le
|
c54c67af9d
|
fix: rename attributes correctly in down migration (#98)
|
2022-05-31 12:14:05 -04:00 |
|
Josh Price
|
ff3039ee32
|
improvement: handle fallback ecto migration default elegantly (#94)
|
2022-05-24 12:11:32 -04:00 |
|
Zach Daniel
|
fbb7477f13
|
chore: fix build, remove IO.inspect
|
2022-05-24 02:14:58 -04:00 |
|
Zach Daniel
|
10038dd8dd
|
improvement: add ignore? option to references
|
2022-05-24 02:11:54 -04:00 |
|
Zach Daniel
|
eb61c2562a
|
fix: don't generate modify commands for attributes due to schema changes
|
2022-05-24 00:38:13 -04:00 |
|
Zach Daniel
|
7798721858
|
fix: default schema to primary schema
|
2022-05-24 00:03:16 -04:00 |
|
Zach Daniel
|
d04fd201f2
|
fix: test and confirm behavior of schemas
|
2022-05-22 18:30:20 -04:00 |
|
Zach Daniel
|
be15257531
|
fix: use correct bindings for filtered relationships
|
2022-05-22 02:12:07 -04:00 |
|
Zach Daniel
|
d2e5c71a6b
|
fix: cast calcs in query expressions
|
2022-05-20 13:42:20 -04:00 |
|
Zach Daniel
|
4ec454d4f1
|
fix: explicitly type cast aggregate/calc selects
|
2022-05-20 13:22:32 -04:00 |
|
Zach Daniel
|
5a61409e56
|
fix: don't try and match reference schema to table schema
|
2022-05-18 13:47:08 -04:00 |
|
Zach Daniel
|
2a5c7ac4a2
|
improvement: check_migrations, rename to --check
fix: don't use `table` where we should use `schema` in migration generator
|
2022-05-18 13:21:58 -04:00 |
|
Zach Daniel
|
ff05084b8f
|
improvement: add explicit timeout capability declaration
|
2022-05-14 02:58:04 -04:00 |
|
Zach Daniel
|
6c5ee9aae5
|
improvement: add static schema specification in DSL
improvement: support static schema specification in migration generator
|
2022-05-13 17:41:30 -04:00 |
|
Zach Daniel
|
4e85466724
|
fix: handle combinations of distinct & sort
closes #93
|
2022-05-10 22:48:04 -04:00 |
|
Zach Daniel
|
5f5eabce27
|
fix: only rename schema when necessary
|
2022-05-02 19:30:01 -04:00 |
|
Zach Daniel
|
a916e2c470
|
fix: inspect un-defaultable value in error message
|
2022-05-02 18:02:19 -04:00 |
|
Josh Price
|
09475e408e
|
improvement: implement decimal ecto migration default (#91)
|
2022-04-28 10:48:44 -04:00 |
|
Josh Price
|
157a5b33e3
|
improvement: support float as Ecto migration default (#89)
|
2022-04-27 17:10:51 -04:00 |
|
Zach Daniel
|
575d838d72
|
improvement: add atom impl for EctoMigrationDefault
|
2022-04-21 10:36:34 -04:00 |
|
Zach Daniel
|
0c757d5049
|
chore: update for latest ash changes
|
2022-04-19 11:08:44 -04:00 |
|
Josh Price
|
a9b2fc83df
|
improvement: Add EctoMigrationDefault protocol and implement defaults (#87)
|
2022-04-19 00:06:02 -04:00 |
|
Zach Daniel
|
973ec590f9
|
improvement: update ecto, fix dialyzer
|
2022-04-18 11:39:30 -04:00 |
|
Zach Daniel
|
662bf421c4
|
improvement: support new timeouts
|
2022-04-18 00:23:09 -04:00 |
|
Zach Daniel
|
b77ad2c808
|
improvement: make select unique before running query
|
2022-04-07 19:59:43 -04:00 |
|
Zach Daniel
|
48c6142040
|
chore: clean up docs for new docs site
|
2022-03-28 22:30:27 -04:00 |
|
Zach Daniel
|
b75532f64e
|
chore: there is no use DocIndex
|
2022-03-26 14:58:14 -04:00 |
|
Zach Daniel
|
de2502c208
|
improvement: add doc_index
|
2022-03-26 14:28:12 -04:00 |
|
kernel-io
|
ed8d4f29f2
|
improvement: add exclusion_constraint_names (#83)
|
2022-03-20 20:35:30 -04:00 |
|
Zach Daniel
|
28cab457fe
|
fix: select custom aggregates properly
|
2022-03-09 20:53:59 -05:00 |
|
Zach Daniel
|
f57a77f912
|
fix: don't add reference when renaming column if unnecessary
fix: don't cast `nil` to `""`
|
2022-02-18 22:30:12 -05:00 |
|
Zach Daniel
|
f801fd8598
|
fix: !is_atom/1 -> !is_boolean/1
|
2022-02-16 22:35:05 -05:00 |
|
Zach Daniel
|
b99da803bc
|
fix: sanitize lists to stringify atoms
|
2022-02-16 22:30:19 -05:00 |
|
Zach Daniel
|
957c99414d
|
fix: cast embedded atoms to strings first
|
2022-02-16 22:20:32 -05:00 |
|
Zach Daniel
|
375f00de85
|
fix: don't cast {:in, :any} types
|
2022-02-16 22:17:39 -05:00 |
|
Zach Daniel
|
fedd35fa32
|
fix: more don't cast any types
|
2022-02-16 22:14:17 -05:00 |
|
Zach Daniel
|
de8aa43ad6
|
fix: don't cast if there is no type
|
2022-02-16 22:04:54 -05:00 |
|
Zach Daniel
|
efaa7c6cc6
|
fix: properly handle relationship filter bindings
fix: don't consider fields changed with only source -> name changes
|
2022-02-14 17:44:17 -05:00 |
|
Zach Daniel
|
973a73e18c
|
fix: handle name -> source change in more places
|
2022-02-14 16:30:25 -05:00 |
|
Zach Daniel
|
6c20f593b0
|
fix: handle name -> source rename in operation ordering
|
2022-02-14 15:38:16 -05:00 |
|
Zach Daniel
|
97bd185c17
|
feat: support cast_in_query?/0 and source
|
2022-02-14 11:39:50 -05:00 |
|
Zach Daniel
|
e6ff1d8b4b
|
fix: fix aggregate/base filters
|
2022-02-11 16:06:51 -05:00 |
|
Zach Daniel
|
cd9701a6ea
|
improvement: support referencing aggregates from aggregate filters
fix: don't select more fields than necessary
|
2022-02-09 11:49:19 -05:00 |
|
Zach Daniel
|
e2bd3c5aec
|
improvement: support access syntax
|
2022-02-07 16:48:36 -05:00 |
|
Zach Daniel
|
079eb2e08d
|
fix: don't call ecto_type twice when resolving types
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
00d937cfa8
|
fix: place expressions in the proper order in selects
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
928e31a3d3
|
fix: match on count in expr
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
4c0fc23074
|
fix: remove incorrect param count tracking
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
a8ab857611
|
fix: properly track param count
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
96c70fcaff
|
fix: properly reverse parameters before/after expansion
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
e034e70b91
|
fix: don't use the base ecto type
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
2258e6f749
|
all green on dynamic refactor
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
fcee70b2f7
|
WIP
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
e19a44d7d9
|
WIP on dynamic refactor
|
2022-02-07 15:35:16 -05:00 |
|
Zach Daniel
|
1dcef728fe
|
fix: don't sort when joining
|
2022-01-18 18:50:14 -05:00 |
|
kernel-io
|
4a1f1880ff
|
bugfix: ensure repo is compiled (#80)
|
2021-12-21 14:19:33 -05:00 |
|
Zach Daniel
|
d7874c5ecd
|
fix: properly construct nested join relationships
|
2021-12-20 23:12:28 -05:00 |
|
Zach Daniel
|
912fab9a96
|
fix: use CiStringWrapper type in ash_postgres
|
2021-12-17 13:25:14 -05:00 |
|
kernel-io
|
2790a725cc
|
fix: ensure we are returning * on upserts (#79)
Co-authored-by: kernel-io <kernel>
|
2021-11-25 21:35:26 -05:00 |
|
kernel-io
|
df62c35801
|
improvement: don't upsert defaults on conflict (#77)
Co-authored-by: kernel-io <kernel>
|
2021-11-24 19:31:59 -05:00 |
|
Zach Daniel
|
98004f3251
|
fix: handle new if types
improvement: relax ash version requirement
|
2021-11-13 14:48:14 -05:00 |
|
Zach Daniel
|
af97c549c5
|
improvement: add custom migration types, and repo level override
|
2021-11-10 04:18:36 -05:00 |
|
kernel-io
|
5a0d145249
|
fix: copy query prefix to newly created query (#74)
|
2021-11-02 17:00:13 -04:00 |
|
Zach Daniel
|
4c4af7ebfa
|
fix: use proper ecto types everywhere
|
2021-11-01 04:41:41 -04:00 |
|
Zach Daniel
|
ff261d75bb
|
fix: try to fix missing paren issue in array_agg
|
2021-10-26 17:01:57 -04:00 |
|
Zach Daniel
|
2fdcea7ef8
|
improvement: support default on aggregates
chore: update to latest ash patterns for testing
|
2021-10-25 18:53:34 -04:00 |
|
kernel-io
|
e4de6f59f6
|
bugfix: fix can? for :joins (#73)
|
2021-10-07 04:16:33 -04:00 |
|
Michael St Clair
|
4307415cca
|
handle when no opts are passed to custom index (#72)
|
2021-09-25 20:02:00 -04:00 |
|
Zach Daniel
|
3f0aa74db2
|
fix: remove unused default value
|
2021-09-21 15:28:45 -04:00 |
|
Zach Daniel
|
b9dfc20bf6
|
fix: use proper identity names for polymorphic resources
|
2021-09-21 15:10:25 -04:00 |
|
Zach Daniel
|
b2350a5d6b
|
fix: set identity names propertly for polymorphic resources
|
2021-09-21 13:41:58 -04:00 |
|
Zach Daniel
|
b9afd37eb7
|
fix: handle nil values in snapshots better
|
2021-09-20 20:48:19 -04:00 |
|
Zach Daniel
|
9204ec0121
|
fix: remove unused field from snapshot parsing
|
2021-09-20 20:40:13 -04:00 |
|
Zach Daniel
|
be1fbd6137
|
improvement: support custom_indexes
|
2021-09-20 16:38:36 -04:00 |
|
Zach Daniel
|
981f6c8ccd
|
improvement!: update to latest ash/ecto versions w/ parameterized types
|
2021-09-13 12:58:23 -04:00 |
|
zimt28
|
e6a68f10d0
|
improvement: Support default tenant migration path in releases (#69)
|
2021-07-30 12:22:39 -04:00 |
|
Zach Daniel
|
54765f300a
|
fix: set subquery prefix properly
|
2021-07-27 23:03:39 -04:00 |
|
Zach Daniel
|
dc054e09fb
|
chore: undo unnecessary expr casting
|
2021-07-27 19:15:28 -04:00 |
|
Zach Daniel
|
e6ec25ec64
|
improvement: info on migration generator output
|
2021-07-27 18:35:14 -04:00 |
|
Zach Daniel
|
c6841c9e72
|
fix: set subquery source correctly
fix: create parameter for ci strings
|
2021-07-27 18:35:14 -04:00 |
|
Zach Daniel
|
548f0f4eba
|
improvement: use match: :full on attr multitenancy
|
2021-07-26 18:02:30 -04:00 |
|
Zach Daniel
|
7d9d7611cb
|
fix: explicitly set prefix at each level
|
2021-07-24 16:59:23 -04:00 |
|
Zach Daniel
|
5e5b5f3fc0
|
fix: interaction w/ attribute and context tenancy
|
2021-07-24 11:28:58 -04:00 |
|
Zach Daniel
|
85f27337d6
|
improvement: upgrade ash dep
chore: remove comment
test: add a sort test
|
2021-07-22 15:23:38 -04:00 |
|
Zach Daniel
|
17efc83eaa
|
fix: don't add a non-list to a list
|
2021-07-19 17:12:01 -04:00 |
|
Zach Daniel
|
487c9f32d6
|
improvement: fix significant performance issue in lateral joins
fix: ensure source table is sorted in lateral join
|
2021-07-19 13:56:36 -04:00 |
|
Zach Daniel
|
aa334eb152
|
improvement: support default_prefix configuration
|
2021-07-12 02:43:39 -04:00 |
|
Zach Daniel
|
95be84f734
|
improvement: --name when generating migrations
|
2021-07-08 14:52:53 -04:00 |
|
Zach Daniel
|
ddbd43b611
|
fix: fix migrator mix tasks w/ only/except tenants
fix: drop foreign keys after table create properly
|
2021-07-08 13:35:16 -04:00 |
|
Zach Daniel
|
7f5a56d9bd
|
improvement: add mix ash_postgres.rollback
fix: drop foreign keys before dropping table
|
2021-07-08 11:37:33 -04:00 |
|
Zach Daniel
|
be7e2a89bc
|
fix: left_lateral_join for many_to_many aggregates
fix: properly reference nested aggregate fields for join
fix: properly determine fallback table for polymorphic resources
|
2021-07-05 14:12:21 -04:00 |
|
Zach Daniel
|
a67c8b4e11
|
fix: ensure non-tenant resources can be aggregates
|
2021-07-02 23:43:30 -04:00 |
|
Zach Daniel
|
f13f31330f
|
fix: properly set aggregate query sources
|
2021-07-02 12:41:44 -04:00 |
|