Commit graph

27 commits

Author SHA1 Message Date
Zach Daniel
67132c41bd fix: properly find migration directories in umbrella apps 2023-02-16 15:23:50 -05:00
Zach Daniel
70645af88f fix: don't make migration generation recursive 2022-12-10 18:54:09 -05:00
Zach Daniel
48cfadc1fc fix: nevermind, can't make migrate recursive 2022-12-10 16:20:41 -05:00
Zach Daniel
eebd40459a improvement: make migrate task recursive as well 2022-12-10 16:17:10 -05:00
Zach Daniel
9a7626ab46 improvement: mark generate_migrations as recursive for umbrellas 2022-12-10 16:13:25 -05:00
Zach Daniel
68c6d7aaf8 improvement: better error messages from mix tasks
fix: various broken behavior from new aggregate work
improvement: validate that references refer to relationships

closes #99
2022-12-10 15:59:50 -05:00
Zach Daniel
385214694d docs: total docs reorg 2022-08-24 12:07:38 -04:00
Zach Daniel
4a69edce2d important: update to ash 2.0 branch 2022-08-24 12:07:38 -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
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
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
6453cb8bf6 fix: don't start the whole app in migrate 2021-03-02 12:47:13 -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
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
a2a88c661c docs: update --apis docs 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
38bf555867
feat: Add check_migrated option to migration generator (#40) (#43) 2021-01-12 20:47:17 -05:00
Zach Daniel
7af29756fa
feat: retain snapshot history 2021-01-07 00:37:41 -05:00
Zach Daniel
20cbfaa650 fix: properly accept the tenant_migration_path 2020-12-05 20:17:39 -05:00
Zach Daniel
06c2753abe feat: don't drop columns unless explicitly told to 2020-11-19 22:09:26 -05:00
Zach Daniel
03510dae24
feat: multitenancy (#25) 2020-10-28 22:26:45 -04:00
Zach Daniel
51cb9c1a68
feat: support base_filter (#18) 2020-09-19 18:08:09 -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