Commit graph

26 commits

Author SHA1 Message Date
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