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 |
|
Zach Daniel
|
06c2753abe
|
feat: don't drop columns unless explicitly told to
|
2020-11-19 22:09:26 -05:00 |
|
Zach Daniel
|
f0898ae1c3
|
fix: drop constraints outside of phases (#29)
|
2020-11-17 18:35:57 -05:00 |
|
Zach Daniel
|
6634f22685
|
docs: update repo docs
|
2020-11-17 00:37:04 -05:00 |
|
Zach Daniel
|
e4f053d639
|
chore: fix lint
|
2020-11-07 00:01:18 -05:00 |
|
Zach Daniel
|
b11f505f2c
|
fix: only alter the things that have changed
|
2020-11-07 00:00:41 -05:00 |
|
Zach Daniel
|
aaeca65df4
|
improvement: add utc_datetime migration type
|
2020-11-05 21:19:51 -05:00 |
|
Zach Daniel
|
f9101be69b
|
chore: remove IO.inspect
|
2020-11-03 00:41:38 -05:00 |
|
Zach Daniel
|
ec03af83b8
|
fix: access data_layer_query with function
|
2020-11-02 22:59:51 -05:00 |
|
Zach Daniel
|
53d06867dc
|
improvement: mark repo as not requiring compile-time dep
|
2020-10-29 00:17:48 -04:00 |
|
Zach Daniel
|
7e29c38c7f
|
fix: verify repo using ensure_compiled
|
2020-10-29 00:03:43 -04:00 |
|
Zach Daniel
|
35b9cae6d1
|
docs: update docs
|
2020-10-28 23:56:59 -04:00 |
|
Zach Daniel
|
4267d0165d
|
chore: uppdate docs/add guide
|
2020-10-28 23:53:28 -04:00 |
|
Zach Daniel
|
03510dae24
|
feat: multitenancy (#25)
|
2020-10-28 22:26:45 -04:00 |
|
Zach Daniel
|
9eb703437d
|
feat: support latest ash
|
2020-10-17 19:13:51 -04:00 |
|
Zach Daniel
|
dcce3f51fe
|
chore: updated ash to latest version, fix compiler warnings (#24)
|
2020-10-07 01:45:58 -04:00 |
|
Zach Daniel
|
493cfb7754
|
feat: update to latest ash, trigram filter
|
2020-10-06 01:39:47 -04:00 |
|
Zach Daniel
|
e9b3e26ea0
|
WIP
|
2020-10-05 01:08:38 -04:00 |
|
Zach Daniel
|
817e6cc5d8
|
WIP
|
2020-10-05 01:08:13 -04:00 |
|
Zach Daniel
|
80230b65df
|
WIP
|
2020-10-05 01:08:13 -04:00 |
|
Zach Daniel
|
3848566ca8
|
fix: don't group alters with creates (#22)
|
2020-09-30 22:43:33 -04:00 |
|
Zach Daniel
|
64fa0a7f2e
|
docs: add guidance to use ash_postgres dep
|
2020-09-30 09:08:16 -04:00 |
|
Zach Daniel
|
5004b2f380
|
feat: fix error when filtering with true
|
2020-09-23 21:04:43 -04:00 |
|
Zach Daniel
|
3304807dfc
|
fix: broken types for in operator
|
2020-09-23 21:04:43 -04:00 |
|
Zach Daniel
|
51cb9c1a68
|
feat: support base_filter (#18)
|
2020-09-19 18:08:09 -04:00 |
|
Zach Daniel
|
4299cbaa05
|
docs: link to migration generator docs
|
2020-09-10 23:53:43 -04:00 |
|
Zach Daniel
|
ed1fe9bd24
|
fix: document/update migration path logic
|
2020-09-10 23:47:14 -04:00 |
|
Zach Daniel
|
24b743d31b
|
feat: snapshot-based migration generator
|
2020-09-10 20:26:47 -04:00 |
|
Zach Daniel
|
60c18dd149
|
test: Start test suite (#16)
|
2020-09-03 04:18:11 -04:00 |
|
Zach Daniel
|
52a39d0597
|
feat: support inner joins when possible (#15)
fix: better support for aggregates/calculations when delegating
|
2020-09-02 00:01:34 -04:00 |
|
Zach Daniel
|
ed0f3027b8
|
fix: don't fail w/ no extensions configured
|
2020-08-27 22:51:43 -04:00 |
|
Zach Daniel
|
8cadfc937d
|
feat: update to ash 1.11 (#13)
|
2020-08-26 00:28:55 -04:00 |
|
Zach Daniel
|
2a89070594
|
feat: support Ash v1.10 (#12)
* feat: support latest ash
* feat: update to latest ash
|
2020-08-24 14:06:41 -04:00 |
|
Zach Daniel
|
f81f78bbea
|
fix: fix compile/dialyzer issues
|
2020-08-19 01:18:52 -04:00 |
|
Zach Daniel
|
63563a7091
|
feat: update to latest ash
|
2020-08-19 00:52:23 -04:00 |
|
Zach Daniel
|
e03cd0cd52
|
feat: support ash 1.7
|
2020-08-17 02:46:59 -04:00 |
|
Zach Daniel
|
ac0568b9fe
|
feat: support named aggregates
|
2020-08-08 16:19:18 -04:00 |
|
Zach Daniel
|
09aff5f29d
|
feat: support latest ash
|
2020-07-24 19:27:34 -04:00 |
|
Zach Daniel
|
8526b48772
|
fix: add can? for :aggregate
|
2020-07-24 18:00:57 -04:00 |
|
Zach Daniel
|
4e64a01d22
|
fix: typespecs, errant IO.inspect
|
2020-07-23 01:38:38 -04:00 |
|
Zach Daniel
|
3a994e735a
|
feat: support ash 13.0 aggregates
|
2020-07-23 01:13:47 -04:00 |
|
Zach Daniel
|
f9d3f5f51f
|
feat: update to latest ash
|
2020-07-15 01:42:12 -04:00 |
|
Zach Daniel
|
f8148ae1bb
|
feat: update to latest ash
|
2020-07-13 00:41:38 -04:00 |
|
Zach Daniel
|
8c40079e1f
|
feat: update to latest ash, add docs
|
2020-07-07 20:01:01 -04:00 |
|
Zach Daniel
|
26028774da
|
feat: update to ash 0.9.1 for transactions
|
2020-06-30 00:16:17 -04:00 |
|
Zach Daniel
|
507ff2ab6b
|
feat: update to latest ash
|
2020-06-28 23:47:07 -04:00 |
|
Zach Daniel
|
3151e3d279
|
feat: upgrade to latest ash
|
2020-06-28 22:29:38 -04:00 |
|
Zach Daniel
|
8e303beb5d
|
feat: update to latest ash
|
2020-06-27 15:11:28 -04:00 |
|
Zach Daniel
|
b077520935
|
feat: New filter style (#10)
|
2020-06-18 23:04:41 -04:00 |
|
Zach Daniel
|
6c5265b4a1
|
feat: use the new DSL builder for config (#7)
|
2020-06-14 03:04:18 -04:00 |
|
Zach Daniel
|
7f47addd15
|
fix: account for removal of name
|
2020-06-04 23:24:01 -04:00 |
|
Zach Daniel
|
6626ba8d17
|
docs: add simple repo explanation
|
2020-06-04 01:27:26 -04:00 |
|
Zach Daniel
|
ea6e55de96
|
chore: fix lint issues
|
2020-06-02 23:29:11 -04:00 |
|
Zach Daniel
|
34e5880dcd
|
chore: fix credo warnings
|
2020-06-02 22:48:12 -04:00 |
|
Zach Daniel
|
2de79b1a86
|
fix: impossible join removal
|
2020-06-02 18:25:55 -04:00 |
|
Zach Daniel
|
458db18570
|
chore: remove ashton in favor of nimble_options
|
2020-06-01 01:14:49 -04:00 |
|
Zach Daniel
|
1bc961e56c
|
fix: pg_trgm config bug
|
2020-05-31 01:54:56 -04:00 |
|
Zach Daniel
|
e4d6381428
|
feat: add trigram search
|
2020-05-31 01:51:41 -04:00 |
|
Zach Daniel
|
9765d58277
|
fix: use destination fields for joins
|
2020-05-27 23:56:46 -04:00 |
|
Zach Daniel
|
81a3401146
|
fix: update to newer can? syntax
|
2020-05-27 22:32:10 -04:00 |
|
Zach Daniel
|
865485922e
|
feat: upserts
|
2020-05-14 18:02:15 -04:00 |
|
Zach Daniel
|
e3d6af9b20
|
feature: update to honor new ands on filter
|
2020-05-13 12:43:58 -04:00 |
|
Zach Daniel
|
60163202f3
|
fix: adjust to new sorts
|
2020-05-09 22:26:13 -04:00 |
|
Andrew Callahan
|
7ce79eff5e
|
generate resources
|
2020-05-03 08:32:56 -05:00 |
|
Andrew Callahan
|
4c072b8736
|
add concept of postgres_table
|
2020-05-03 08:30:10 -05:00 |
|
Zach Daniel
|
864f83cbde
|
WIP
|
2020-05-02 05:02:31 -04:00 |
|
Zach Daniel
|
8f34ad892f
|
WIP
|
2020-04-05 06:24:01 -04:00 |
|
Zach Daniel
|
00c8ae8941
|
WIP
|
2020-04-03 23:42:15 -04:00 |
|
Zach Daniel
|
ceb5b4069f
|
WIP
|
2020-01-17 12:24:07 -05:00 |
|
Zach Daniel
|
cd579efbae
|
WIP
|
2019-12-08 14:02:30 -05:00 |
|
Zach Daniel
|
b33945d166
|
WIP
|
2019-12-05 13:45:42 -05:00 |
|
Zach Daniel
|
fe3d81c606
|
fix typo
|
2019-12-04 15:18:18 -05:00 |
|
Zach Daniel
|
87cd754b5a
|
WIP
|
2019-12-04 10:27:20 -05:00 |
|
Zach Daniel
|
ea5c0edc87
|
WIP
|
2019-12-04 09:58:46 -05:00 |
|
Zach Daniel
|
dc94994ea3
|
WIP
|
2019-12-04 09:58:20 -05:00 |
|
Zach Daniel
|
1b61705e43
|
WIP
|
2019-12-03 01:48:04 -05:00 |
|
Zach Daniel
|
dd42c0e6a0
|
WIP
|
2019-12-02 17:01:22 -05:00 |
|
Zach Daniel
|
f5f3c75941
|
WIP
|
2019-11-29 11:38:14 -05:00 |
|
Zach Daniel
|
114ba29410
|
WIP
|
2019-11-29 01:54:57 -05:00 |
|
Zach Daniel
|
e7edb42aa4
|
WIP
|
2019-11-28 00:27:12 -05:00 |
|
Zach Daniel
|
260693e2d4
|
WIP
|
2019-11-27 16:36:49 -05:00 |
|
Zach Daniel
|
5527c31687
|
WIP
|
2019-11-26 17:33:52 -05:00 |
|
Zach Daniel
|
a52218b772
|
WIP
|
2019-11-24 19:01:54 -05:00 |
|
Zach Daniel
|
cd4d39f535
|
WIP
|
2019-11-22 15:22:46 -05:00 |
|
Zach Daniel
|
088c34551a
|
stateful relationship actions
|
2019-11-02 16:37:13 -04:00 |
|
Zach Daniel
|
f30cbfc79e
|
work on separation lines
|
2019-10-30 11:13:22 -04:00 |
|
Zach Daniel
|
5749aa363c
|
move datalayer stuff into its own repo
|
2019-10-06 16:36:18 -04:00 |
|