Commit graph

76 commits

Author SHA1 Message Date
Zach Daniel
d472f622f9 chore: fix ash_postgres igniter 2024-09-16 08:55:32 -04:00
Zach Daniel
3c0872ab94 chore: update igniter and fix deprecation warning 2024-09-13 19:10:54 -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
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
Shankar Dhanasekaran
fe1651169b
Remove IO.inspect (#376) 2024-08-28 08:05:18 -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
2ddc53885b improvement: dynamically select and allow setting a repo 2024-07-31 17:48:55 -04:00
Zach Daniel
e49b678351 fix: ensure app is compiled before using repo modules 2024-07-24 17:22:14 -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
Zach Daniel
252acd423a chore: don't use deprecated function 2024-07-14 22:11:06 -04:00
Zach Daniel
ef58c78313 test: add more tests for atomic update interactions
chore: get build passing
2024-07-12 23:23:42 -04:00
Zach Daniel
63324c19e9 fix: properly interpolate module names in installer 2024-07-10 08:47:06 -04:00
Zach Daniel
a085303da8 chore: fix build 2024-07-09 20:52:25 -04:00
Zach Daniel
ca27613f9f chore: remove unused function 2024-07-09 20:42:04 -04:00
Zach Daniel
5b9d0ea18a
improvement: add DataCase creation for igniter installer (#346)
* improvement: add DataCase creation for igniter installer

* chore: remove kind favoring path

---------

Co-authored-by: Igor Barakaiev <ibarakaiev@gmail.com>
2024-07-09 20:40:05 -04:00
Zach Daniel
cdbb5e294f chore: ensure proper return value for installer 2024-07-09 20:28:30 -04:00
Zach Daniel
7dae2408d4 chore: choose a shorter name for mix task 2024-07-09 17:43:06 -04:00
Zach Daniel
24576c168c fix: ensure that we return {:ok, zipper} from find_and_update_or_create_module
closes #345
2024-07-09 07:54:50 -04:00
Zach Daniel
d293d0f302 improvement: use Ash.Igniter.codegen 2024-07-08 15:56:58 -04:00
Igor Barakaiev
ffbfc1c23a
fix: default_repo_contents in ash_postgres.install (#340) 2024-07-03 12:12:37 -04:00
Zach Daniel
e42be38183 chore: update to latest igniter goodies 2024-07-02 18:07:50 -04:00
Igor Barakaiev
58311f7152
fix: check for existing installed_extensions/0 in ash_postgres.install (#338) 2024-06-27 17:05:53 -04:00
Igor Barakaiev
75a87e854a
fix: typo in configure_runtime/3 (#336) 2024-06-26 11:40:17 -04:00
Igor Barakaiev
278b2a31a5
fix: configure_runtime/3 in ash_postgres.install (#335) 2024-06-26 08:00:35 -04:00
Zach Daniel
e520ddfc35 chore: get build passing
fix: properly delete args passed from migrate to ecto
2024-06-24 10:20:16 -04:00
Zach Daniel
6b1f6bae2a improvement: add mix ash_postgres.install (mix igniter.install ash_postgres) 2024-06-21 19:49:47 -04:00
Zach Daniel
b53ef4f281 chore: update docs description 2024-06-20 12:02:47 -04:00
Jechol Lee
a3a2905c68
Fix Elixir 1.17 warnings (#326) 2024-06-13 19:54:22 -04:00
Zach Daniel
33cfbd1cc4 chore: drop columns by default, change CLI option to dont-drop-columns
closes #307
2024-05-27 11:44:27 -04:00
Dmitry Maganov
06752d37e4
improvement: add ash_postgres.squash_snapshots mix task (#302) 2024-05-27 09:45:02 -04:00
Sucipto
555a737493
fix: remove duplicate repo flags (#285) 2024-05-15 07:22:28 -04:00
Zach Daniel
38eec0ba86 docs: reformat docs and revisit certain guides
improvement: support `mix ash.rollback` with interactive rollback
2024-04-09 20:21:04 -04:00
bcksl
b66427e9bd
feat: add create? and drop? callbacks to AshPostgres.Repo (#143)
Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2024-03-27 17:05:14 -04:00
Zach Daniel
37cc01957d
improvement!: 3.0 (#227)
* WIP

* chore: fix mix.lock merge issues

* improvement: upgrade to 3.0

* chore: remove `repo.to_tenant`

* chore: continue removal of unnecessary helper

* chore: use `Ash.ToTenant`
2024-03-27 16:52:28 -04:00
Zach Daniel
b1d10c32cc chore: fix credo and update ash 2024-01-29 16:57:04 -05:00
Zach Daniel
a05783d422 fix: only migrate/rollback one repo at a time
fixes #197
2024-01-29 16:47:55 -05:00
Zach Daniel
6ff25bf342 improvement: require name when generating migrations 2023-12-27 10:08:13 -05:00
Zach Daniel
54908395eb fix: reenable mix tasks that need calling 2023-12-06 18:53:37 -05:00
Zach Daniel
db8255e5b1 improvement: support a 2 argument function for the repo option 2023-11-14 10:56:22 -05:00
Zach Daniel
67132c41bd fix: properly find migration directories in umbrella apps 2023-02-16 15:23:50 -05:00