Zach Daniel
|
0fe770b9ea
|
fix: include prefix in the proper place when renaming attributes
closes: #104
|
2022-08-09 16:37:20 -04:00 |
|
Zach Daniel
|
82d8d73b4d
|
test: add test for check constraint ordering
|
2022-07-22 01:01:32 -04:00 |
|
Zach Daniel
|
53560d82ac
|
test: add test for field_type in relationships
|
2022-06-28 16:01:07 -04:00 |
|
Rebecca Le
|
c54c67af9d
|
fix: rename attributes correctly in down migration (#98)
|
2022-05-31 12:14:05 -04:00 |
|
Josh Price
|
ff3039ee32
|
improvement: handle fallback ecto migration default elegantly (#94)
|
2022-05-24 12:11:32 -04:00 |
|
Zach Daniel
|
316a4408f5
|
chore: fix test
|
2022-05-18 15:47:43 -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
|
6c5ee9aae5
|
improvement: add static schema specification in DSL
improvement: support static schema specification in migration generator
|
2022-05-13 17:41:30 -04:00 |
|
Josh Price
|
09475e408e
|
improvement: implement decimal ecto migration default (#91)
|
2022-04-28 10:48:44 -04:00 |
|
Josh Price
|
157a5b33e3
|
improvement: support float as Ecto migration default (#89)
|
2022-04-27 17:10:51 -04:00 |
|
Zach Daniel
|
575d838d72
|
improvement: add atom impl for EctoMigrationDefault
|
2022-04-21 10:36:34 -04:00 |
|
Zach Daniel
|
0c757d5049
|
chore: update for latest ash changes
|
2022-04-19 11:08:44 -04:00 |
|
Josh Price
|
a9b2fc83df
|
improvement: Add EctoMigrationDefault protocol and implement defaults (#87)
|
2022-04-19 00:06:02 -04:00 |
|
Zach Daniel
|
af97c549c5
|
improvement: add custom migration types, and repo level override
|
2021-11-10 04:18:36 -05:00 |
|
Zach Daniel
|
2fdcea7ef8
|
improvement: support default on aggregates
chore: update to latest ash patterns for testing
|
2021-10-25 18:53:34 -04: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
|
f13f31330f
|
fix: properly set aggregate query sources
|
2021-07-02 12:41:44 -04:00 |
|
Zach Daniel
|
86d9e7e7bd
|
improvement: update to latest ash
|
2021-05-14 01:20:10 -04:00 |
|
Zach Daniel
|
b7efe6e078
|
improvement: custom index names
fix: simpler index names
|
2021-04-27 17:16:56 -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
|
7845126037
|
test: confirm new behavior
|
2021-04-13 12:31:14 -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
|
b30bf8b821
|
chore: fix tests
|
2021-03-21 21:49:29 -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
|
5cb77c757a
|
chore: format + test
|
2021-02-06 15:52:47 -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
|
6eb46231ea
|
chore: fix formatter
|
2021-01-12 20:53:06 -05:00 |
|
zimt28
|
38bf555867
|
feat: Add check_migrated option to migration generator (#40) (#43)
|
2021-01-12 20:47:17 -05:00 |
|
Zach Daniel
|
3ac292617e
|
chore: update tests
|
2021-01-12 20:27:39 -05:00 |
|
Zach Daniel
|
94289b8454
|
chore: format
|
2021-01-12 20:22:28 -05:00 |
|
zimt28
|
a9db1f3601
|
chore: Update primary keys & formatting (#44)
|
2021-01-12 20:16:48 -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
|
7af29756fa
|
feat: retain snapshot history
|
2021-01-07 00:37:41 -05: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 |
|