Zach Daniel
|
2258e6f749
|
all green on dynamic refactor
|
2022-02-07 15:35:18 -05:00 |
|
Zach Daniel
|
af97c549c5
|
improvement: add custom migration types, and repo level override
|
2021-11-10 04:18:36 -05: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
|
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 |
|
Zach Daniel
|
548f0f4eba
|
improvement: use match: :full on attr multitenancy
|
2021-07-26 18:02:30 -04:00 |
|
Zach Daniel
|
5e5b5f3fc0
|
fix: interaction w/ attribute and context tenancy
|
2021-07-24 11:28:58 -04:00 |
|
Zach Daniel
|
1b23bb3ccc
|
fix: always add nullability flag
|
2021-06-15 16:04:17 -04:00 |
|
Zach Daniel
|
3e50a0d119
|
fix: generate multitenant foreign keys properly
|
2021-06-06 03:31:22 -04:00 |
|
Zach Daniel
|
84fe7a4822
|
fix: set prefix to "public" for fkeys to public schema
improvement: set explicit prefix on join filters
|
2021-05-22 23:56:52 -04:00 |
|
Zach Daniel
|
b7efe6e078
|
improvement: custom index names
fix: simpler index names
|
2021-04-27 17:16:56 -04:00 |
|
Zach Daniel
|
41e95af715
|
fix: don't prefix unique indices with prefix()
|
2021-04-27 16:15:55 -04:00 |
|
Zach Daniel
|
e9222bebfa
|
fix: include type in references (because it is *not* automatic)
|
2021-04-19 17:28:00 -04:00 |
|
Zach Daniel
|
1f6621b852
|
feat: add check_constraints, both for validation and migrations
|
2021-04-19 14:26:41 -04:00 |
|
Zach Daniel
|
250f8b195c
|
fix: always drop constraints before modifying
fix: properly compare old references and new references
|
2021-04-13 12:19:50 -04:00 |
|
Zach Daniel
|
4417eaa6a1
|
improvement: default integers to :bigint
fix: don't explicitly set type in `references`
|
2021-04-12 14:13:23 -04:00 |
|
WolfDan
|
ac0b18c72b
|
improvement: primary autoincrement key as bigserial (#54)
|
2021-04-12 12:30:30 -04:00 |
|
Zach Daniel
|
2d0245e368
|
chore: open up some migration APIs for experimentation purposes
|
2021-04-04 16:09:26 -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
|
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
|
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
|
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
|
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 |
|
zimt28
|
f29ed6a014
|
Fix incorrect joins (#45)
|
2021-01-15 21:17:39 -05:00 |
|
Zach Daniel
|
d3ae6f634b
|
fix: rename out of phase, small migration fix
|
2021-01-12 14:21:44 -05:00 |
|
zimt28
|
f5d51ecdb0
|
improvement: Omit field opts if they are default values (#37)
|
2021-01-09 19:52:19 -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
|
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
|
b11f505f2c
|
fix: only alter the things that have changed
|
2020-11-07 00:00:41 -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
|
24b743d31b
|
feat: snapshot-based migration generator
|
2020-09-10 20:26:47 -04:00 |
|