Zach Daniel
|
737a6a5442
|
improvement: support new ash select feature
|
2021-04-09 00:53:50 -04:00 |
|
Zach Daniel
|
2d0245e368
|
chore: open up some migration APIs for experimentation purposes
|
2021-04-04 16:09:26 -04:00 |
|
Michael St Clair
|
cf92fe14a5
|
improvement: add sum aggregate (#53)
|
2021-04-04 16:05:41 -04:00 |
|
Zach Daniel
|
30223a1f9b
|
fix: raise when all_tenants/0 default impl is called
|
2021-04-02 10:24:42 -04:00 |
|
Zach Daniel
|
4d2d29d976
|
feat: support configuring references
feat: support configuring polymorphic references
feat: support `distinct` Ash queries
|
2021-04-01 02:19:30 -04:00 |
|
Zach Daniel
|
e2eb2d4483
|
improvement: only count resources w/ create action for nullability
|
2021-03-29 09:27:18 -04:00 |
|
Simon Bergström
|
dc628c32ca
|
fix: Made AshPostgres.Repo.init/2 overridable (#51)
|
2021-03-22 13:07:01 -04:00 |
|
Zach Daniel
|
6414bed5d8
|
improvement: better error message on missing table
|
2021-03-21 17:58:47 -04:00 |
|
Zach Daniel
|
2280b1e439
|
fix: reroute Ash.Type.UUID to :uuid in migrations
|
2021-03-21 13:23:30 -04:00 |
|
Zach Daniel
|
830a4ca6ee
|
improvement: consistent foreign key names
fix: force create extensions snapshot
improvement: support custom foreign key error messages
|
2021-03-19 18:42:10 -04:00 |
|
Zach Daniel
|
99d4095d26
|
fix: more conservative inner join checks
|
2021-03-04 22:54:40 -05:00 |
|
Zach Daniel
|
0b7817e420
|
fix: add back in inner join detection logic
|
2021-03-04 22:50:12 -05:00 |
|
Zach Daniel
|
6453cb8bf6
|
fix: don't start the whole app in migrate
|
2021-03-02 12:47:13 -05:00 |
|
Zach Daniel
|
4be11ffc70
|
feat: automatically install extensions from repo
|
2021-03-02 12:33:24 -05:00 |
|
Zach Daniel
|
ef9ddd9c54
|
fix: typo in references for multitenancy
fix: `null: true` when attr isn't on all resources for a table
|
2021-03-02 11:38:12 -05:00 |
|
Zach Daniel
|
eb703efe6f
|
fix: better embedded filters, switch to latest ash
|
2021-02-24 13:59:49 -05:00 |
|
Zach Daniel
|
33a84e1799
|
improvement: support latest ash
|
2021-02-22 23:53:18 -05:00 |
|
Zach Daniel
|
0ce0cc9d09
|
fix: trim when choosing new attribute name
|
2021-02-08 15:29:52 -05:00 |
|
Zach Daniel
|
3fa60c68ea
|
fix: don't reference polymorphic tables to belongs_to relationships
|
2021-02-06 16:03:06 -05:00 |
|
Zach Daniel
|
5cb77c757a
|
chore: format + test
|
2021-02-06 15:52:47 -05:00 |
|
Zach Daniel
|
1386d06bf7
|
fix: set up references properly
|
2021-02-06 15:44:00 -05:00 |
|
Zach Daniel
|
b800b2c984
|
chore: format
|
2021-02-06 15:21:52 -05:00 |
|
Zach Daniel
|
cb6943b233
|
fix: reference the configured table if set
|
2021-02-06 15:05:37 -05:00 |
|
Zach Daniel
|
70568c43c0
|
feat: support polymorphic relationships
|
2021-02-05 18:59:33 -05:00 |
|
Zach Daniel
|
c5f69eaa69
|
chore: WIP on polymorphic associations
|
2021-01-31 16:39:59 -05:00 |
|
Zach Daniel
|
9d5583cce7
|
chore: WIP on polymorphic relationships
|
2021-01-28 19:42:55 -05:00 |
|
Zach Daniel
|
4c29969509
|
fix: actually insert the tracking row
|
2021-01-26 19:37:32 -05:00 |
|
Zach Daniel
|
fbc42ce87a
|
fix: rework the way multitenant migrations work
feat: add `mix ash_postgres.create`
feat: add `mix ash_postgres.migrate`
feat: add `mix ash_postgres.migrate --tenants`
feat: add `mix ash_postgres.drop`
|
2021-01-26 19:16:29 -05:00 |
|
Zach Daniel
|
7f8aa98f24
|
improvement: better errors for multitenant unique constraints
fix: un-break the `in` filter type casting code
test: add tests for untested features
|
2021-01-26 15:07:26 -05:00 |
|
Zach Daniel
|
d8b3db7bf1
|
fix: ago was adding, not subtracting
|
2021-01-24 13:24:43 -05:00 |
|
Zach Daniel
|
5b3fd3f144
|
feat: support latest ash + contains
|
2021-01-23 22:45:15 -05:00 |
|
Zach Daniel
|
a2a88c661c
|
docs: update --apis docs
|
2021-01-22 16:47:24 -05:00 |
|
Zach Daniel
|
80e63f9067
|
feat: support fragments
feat: support type casting
feat: update to latest ash to support expressions
|
2021-01-22 16:47:24 -05:00 |
|
Frank Dugan III
|
f7c826bc01
|
chore: fix typos (#46)
|
2021-01-22 15:49:34 -05:00 |
|
zimt28
|
f29ed6a014
|
Fix incorrect joins (#45)
|
2021-01-15 21:17:39 -05:00 |
|
zimt28
|
38bf555867
|
feat: Add check_migrated option to migration generator (#40) (#43)
|
2021-01-12 20:47:17 -05:00 |
|
Zach Daniel
|
d3ae6f634b
|
fix: rename out of phase, small migration fix
|
2021-01-12 14:21:44 -05:00 |
|
zimt28
|
6a3ebe83db
|
Remove parentheses (#39)
|
2021-01-11 13:15:21 -05:00 |
|
zimt28
|
618d16d5d1
|
improvement: Use ecto_sql formatter settings (#38)
|
2021-01-10 10:59:33 -05:00 |
|
zimt28
|
f5d51ecdb0
|
improvement: Omit field opts if they are default values (#37)
|
2021-01-09 19:52:19 -05:00 |
|
Zach Daniel
|
f3d1d5f48d
|
improvement: support latest ash
|
2021-01-08 12:14:41 -05:00 |
|
Darren Black
|
650896a7ea
|
Make integer serial if generated (#36)
Co-authored-by: Darren Black <darren@ifixsystems.com.au>
|
2021-01-07 22:53:16 -05:00 |
|
Zach Daniel
|
7af29756fa
|
feat: retain snapshot history
|
2021-01-07 00:37:41 -05:00 |
|
Darren Black
|
29da1cf522
|
improvement: Add :binary migration type (#33)
Co-authored-by: Darren Black <darren@ifixsystems.com.au>
|
2021-01-06 21:47:32 -05:00 |
|
Zach Daniel
|
b2428213c7
|
feat: support latest Ash version
|
2020-12-28 19:26:04 -05:00 |
|
Zach Daniel
|
8e321af566
|
chore: update to latest ash
|
2020-12-27 01:20:12 -05:00 |
|
Zach Daniel
|
e8dde8b2ff
|
feat: support refs on both sides of operators
|
2020-12-23 14:46:49 -05:00 |
|
Zach Daniel
|
20cbfaa650
|
fix: properly accept the tenant_migration_path
|
2020-12-05 20:17:39 -05:00 |
|
Zach Daniel
|
055e22f3b7
|
fix: set default properly when modifying
|
2020-12-01 01:54:20 -05:00 |
|
Zach Daniel
|
595ad71891
|
fix: various migration generator bug fixes
|
2020-11-24 18:11:02 -05:00 |
|