Commit Graph

2862 Commits

Author SHA1 Message Date
Simon Binder c69d1a6628
Delete old analyzer and model 2022-11-11 18:02:30 +01:00
Simon Binder ea6a8a2217
Re-generate migration tests 2022-11-11 17:50:21 +01:00
Simon Binder 360ee348a2
Fix compilation errors in CLI 2022-11-09 21:59:45 +01:00
Simon Binder dfa01c1332
Upgrading docs: Mention to re-generate schema files 2022-11-09 12:45:41 +01:00
Simon Binder 22d30bd149
Merge pull request #2116 from abitofevrything/postgres-types
Use native postgres boolean type instead of integers
2022-11-09 00:48:36 +01:00
Simon Binder fe1af89840
Fix drift tests 2022-11-08 23:35:57 +01:00
Simon Binder eedfd96694
Merge branch 'develop' into postgres-types 2022-11-08 23:17:41 +01:00
Simon Binder ae87bb7373
Fix old conversion snippet on website 2022-11-07 17:39:00 +01:00
Simon Binder 0de8e9fed3
Fix snippet test 2022-11-07 16:18:17 +01:00
Simon Binder e63f089b46
Fix drift_dev test 2022-11-07 16:06:09 +01:00
Simon Binder d491db8599
Move dialect to SqlTypes constructor, re-generate 2022-11-07 15:53:16 +01:00
Abitofevrything 54b58948d3 Run melos run build 2022-11-05 20:35:24 +01:00
Abitofevrything 658bd5d646 Update test case 2022-11-05 20:35:02 +01:00
Abitofevrything cb1389f272 Extract generated code to method 2022-11-05 20:34:55 +01:00
Simon Binder 3b12faaa46
Start migrating schema files to new analyzer 2022-11-05 19:44:43 +01:00
Simon Binder c5a800d4c4
Migrate simple CLI tools to new analyzer 2022-11-05 18:32:13 +01:00
Simon Binder 0f06640dde
Merge pull request #2121 from North101/develop
Add isInValues and isNotInValues
2022-11-05 15:19:41 +01:00
Simon Binder a0aa437b7c
Merge branch 'develop' into North101/develop 2022-11-05 15:12:10 +01:00
Simon Binder b0ee5eb06e
Fix other test, add changelog 2022-11-05 15:11:32 +01:00
Simon Binder d990787451
Remove setup test 2022-11-05 15:01:25 +01:00
Simon Binder f09322aeb5
Add insertAll method 2022-11-04 22:08:45 +01:00
Alexander Wilde 58514da1f6 Format files 2022-11-04 13:16:34 +00:00
Alexander Wilde 84371435fb Remove ignoreNulls 2022-11-04 13:15:06 +00:00
Alexander Wilde 84a22c620c Add tests for isInValues and isNotInValues 2022-11-04 13:04:31 +00:00
Alexander Wilde d7e91ec270 Add null checking for isInValues and isNotInValues 2022-11-04 13:04:21 +00:00
Simon Binder c5504237d5
Make drift's tests pass with new analyzer 2022-11-04 13:42:06 +01:00
Alexander Wilde 729cbbe42c Add isInValues and isNotInValues 2022-11-03 16:58:28 +00:00
Simon Binder b776c672c2
Fix missing semicolon in drift docs (#2118) 2022-11-02 21:26:20 +01:00
Simon Binder c2b319bc8e
Fix writing type converters 2022-11-01 00:14:17 +01:00
Simon Binder fe3566429f
Migrate more analyzer tests 2022-10-30 19:41:59 +01:00
Simon Binder 23b0c8a362
Migrate drift file analysis tests to new analyzer 2022-10-30 16:09:38 +01:00
Abitofevrything 897f8c10ad Remove unneeded parameter 2022-10-29 18:09:23 +02:00
Simon Binder 292dd9946d
Port more tests over to new analyzer 2022-10-29 17:30:18 +02:00
Abitofevrything 7ad933eccd Add tests for postgres boolean type 2022-10-29 17:00:26 +02:00
Abitofevrything d817163681 Add support for boolean sql type 2022-10-29 16:40:15 +02:00
Abitofevrything 2106b7010b Pass dialect to SqlTypes methods 2022-10-29 16:36:04 +02:00
Abitofevrything fbff2ceccd Use postgresql boolean type for bool columns 2022-10-29 15:48:45 +02:00
Simon Binder 49470e8361
Support serializing fts5 tablesi n new analyzer 2022-10-29 14:39:28 +02:00
Abitofevrything 3ec04df46f Run melos run build 2022-10-29 14:36:50 +02:00
Abitofevrything 52b885c007 Don't export customConstraints in schema file is constraints are empty 2022-10-29 14:22:22 +02:00
Abitofevrything 52d2d908c0 Don't generate empty constraints 2022-10-29 13:37:38 +02:00
Abitofevrything aefc887c77 Correctly call defaultConstraints 2022-10-29 13:17:27 +02:00
Abitofevrything c8d63b845d Generate dialect-specific constraints 2022-10-29 13:16:21 +02:00
Abitofevrything fa512a5901 Change defaultConstraints to be a callback 2022-10-29 12:44:39 +02:00
Simon Binder fdd1d2c66e
Fix deprecation warnings from analyzer upgrade 2022-10-29 12:17:07 +02:00
Simon Binder cbca76e7e1
Update drift dependency for drift_postgres
Closes #2114
2022-10-29 12:03:52 +02:00
Simon Binder e3a29ebbe2
Migrate some tests to new analyzer 2022-10-26 23:09:05 +02:00
Simon Binder 69808525c0
Port over drift lints to new analyzer 2022-10-26 20:36:35 +02:00
Simon Binder cd9865f696
Simplify documentation setup 2022-10-25 22:15:09 +02:00
Simon Binder 81679b8ff1
Fix formatting some Dart placeholders 2022-10-23 18:13:40 +02:00